设备定时任务更新设备状态bug修复
This commit is contained in:
@ -162,7 +162,7 @@ public class DeviceDateTask {
|
||||
}
|
||||
});
|
||||
if(!onlineDeviceList.isEmpty()){
|
||||
new LambdaUpdateChainWrapper<>(meteorologyMapper).in(DeviceInformationMeteorology::getDeviceEncoding,offlineDeviceList).set(DeviceInformationMeteorology::getStatus, 1).update();
|
||||
new LambdaUpdateChainWrapper<>(meteorologyMapper).in(DeviceInformationMeteorology::getDeviceEncoding,onlineDeviceList).set(DeviceInformationMeteorology::getStatus, 1).update();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user