1.调整实体类
This commit is contained in:
@@ -93,8 +93,8 @@ public class DeviceInfoParam implements Serializable {
|
||||
*/
|
||||
@ApiModelProperty("通讯状态")
|
||||
@Range(min = 0, max = 2, message = "通讯状态" + ValidMessage.PARAM_FORMAT_ERROR)
|
||||
private Integer comFlag;
|
||||
|
||||
private Integer comFlagStatus;
|
||||
|
||||
/**
|
||||
* 默认全部监测点
|
||||
* @param deptIndex 部门索引
|
||||
|
||||
@@ -320,8 +320,8 @@ public class GeneralDeviceService {
|
||||
} else {
|
||||
deviceType.setRunFlag(runFlag);
|
||||
}
|
||||
if(ObjectUtil.isNotNull(deviceInfoParam.getComFlag())){
|
||||
deviceType.setComFlag(Arrays.asList(deviceInfoParam.getComFlag()));
|
||||
if(ObjectUtil.isNotNull(deviceInfoParam.getComFlagStatus())){
|
||||
deviceType.setComFlag(Arrays.asList(deviceInfoParam.getComFlagStatus()));
|
||||
}
|
||||
filterDataType(deviceType, deviceInfoParam.getServerName());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user