增加 删除标记00

This commit is contained in:
Xiao
2025-01-21 21:34:58 +08:00
parent 429b96313e
commit 20c17b772d

View File

@@ -90,14 +90,13 @@ public class DeviceStatusConsumer {
} }
if (!containsKey && isOnline) { if (!containsKey && isOnline) {
bo.setStatus(DeviceStatus.OFFLINE); bo.setStatus(DeviceStatus.OFFLINE);
}
// 判断下 项目id // 判断下 项目id
if(bo.getStatus().getDescription().equals("离线")){
if (device.getGroupId().equals(0L) || device.getGroupId() == null) { if (device.getGroupId().equals(0L) || device.getGroupId() == null) {
//设置删除状态 todo //设置删除状态 todo
device.setDelFlag("2"); device.setDelFlag("2");
} }
} }
} }
/*更新设备状态*/ /*更新设备状态*/