Commit 1193c3ca authored by “yiyousong”'s avatar “yiyousong”
parents 78772afd e1691b3a
...@@ -86,6 +86,11 @@ public class DevicePdu extends BaseEntityLong { ...@@ -86,6 +86,11 @@ public class DevicePdu extends BaseEntityLong {
*/ */
private Integer source; private Integer source;
/**
* 启用状态 (0.停止,1.启用)
*/
private Integer enabled;
public void initAttrValue(){ public void initAttrValue(){
this.deviceId = null; this.deviceId = null;
......
...@@ -137,7 +137,7 @@ public class SyncSiteDeviceTaskImpl implements ITaskExcuteService { ...@@ -137,7 +137,7 @@ public class SyncSiteDeviceTaskImpl implements ITaskExcuteService {
if (!ObjectUtils.isEmpty(updateDeviceLsit)) { if (!ObjectUtils.isEmpty(updateDeviceLsit)) {
log.info("设备更新,size:{}", updateDeviceLsit.size()); log.info("设备更新,size:{}", updateDeviceLsit.size());
// deviceService.update(updateDeviceLsit); deviceService.update(updateDeviceLsit);
} }
if (!ObjectUtils.isEmpty(saveDeviceList)) { if (!ObjectUtils.isEmpty(saveDeviceList)) {
......
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