增加 删除标记00
This commit is contained in:
@@ -90,14 +90,13 @@ public class DeviceStatusConsumer {
|
||||
}
|
||||
if (!containsKey && isOnline) {
|
||||
bo.setStatus(DeviceStatus.OFFLINE);
|
||||
|
||||
}
|
||||
// 判断下 项目id
|
||||
if(bo.getStatus().getDescription().equals("离线")){
|
||||
if (device.getGroupId().equals(0L) || device.getGroupId() == null) {
|
||||
//设置删除状态 todo
|
||||
device.setDelFlag("2");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
/*更新设备状态*/
|
||||
|
||||
Reference in New Issue
Block a user