Explorar el Código

警告规则参数修改

hym hace 3 años
padre
commit
9a2b30cd8b

+ 4 - 2
zoniot-rmcp/zoniot-rmcp-api/src/main/java/com/zcxk/rmcp/api/dto/alarm/AlarmTypeDto.java

@@ -21,13 +21,13 @@ public class AlarmTypeDto {
      * 产品类型
      */
     @ApiModelProperty(value = "产品类型")
-    @JsonIgnore
+
     private Integer productCategroyId;
     /**
      * 设备类型
      */
     @ApiModelProperty(value = "设备类型")
-    @JsonIgnore
+
     private Integer deviceTypeId;
     /**
      * 名称
@@ -84,7 +84,9 @@ public class AlarmTypeDto {
     @ApiModelProperty(value = "水表数目")
     private Integer numberOfWaterMeters;
     @ApiModelProperty(value = "产品类型")
+    @JsonIgnore
     private String categoryName;
     @ApiModelProperty(value = "设备型号")
+    @JsonIgnore
     private String productName;
 }