Commit 9c71bfcc by gdj

fix dock add method2

parent 071631c8
...@@ -1160,6 +1160,9 @@ public class DeviceServiceImpl extends ServiceImpl<IDeviceMapper, DeviceEntity> ...@@ -1160,6 +1160,9 @@ public class DeviceServiceImpl extends ServiceImpl<IDeviceMapper, DeviceEntity>
updateDock.setDeviceType(dock.getType().getType()); updateDock.setDeviceType(dock.getType().getType());
updateDock.setSubType(dock.getSubType().getSubType()); updateDock.setSubType(dock.getSubType().getSubType());
updateDock.setChildSn(dock.getChildDeviceSn());
updateDock.setDeviceIndex(ControlSourceEnum.A.getControlSource());
updateDock.setBoundStatus(true); updateDock.setBoundStatus(true);
updateDock.setBoundTime(System.currentTimeMillis()); updateDock.setBoundTime(System.currentTimeMillis());
boolean updateById = this.updateById(updateDock); boolean updateById = this.updateById(updateDock);
......
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