Commit faec60d2 authored by 赵啸非's avatar 赵啸非

调整pom文件

parent a950cbd5
...@@ -47,12 +47,14 @@ public class DeviceUpdateComsumerThread extends AbstractThread { ...@@ -47,12 +47,14 @@ public class DeviceUpdateComsumerThread extends AbstractThread {
break; break;
} }
waitUpdateDeviceList.add(deviceEntity); waitUpdateDeviceList.add(deviceEntity);
} }
if (!ObjectUtils.isEmpty(waitUpdateDeviceList)) { if (!ObjectUtils.isEmpty(waitUpdateDeviceList)) {
log.info("updateDeviceList size:{}", waitUpdateDeviceList.size()); log.info("updateDeviceList size:{}", waitUpdateDeviceList.size());
deviceService.update(waitUpdateDeviceList);
for (DeviceEntity deviceEntity : waitUpdateDeviceList) {
deviceService.update(deviceEntity);
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment