Commit 1de28a98 by gdj

fix dock add method2

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