|
@@ -93,7 +93,7 @@ public class IotCbdServiceImpl extends IotDeviceBaseServiceImpl implements IotCb
|
|
|
// 如果测报灯配置为空,则新增测报灯配置
|
|
// 如果测报灯配置为空,则新增测报灯配置
|
|
|
iotDeviceconfig = new IotDeviceconfig();
|
|
iotDeviceconfig = new IotDeviceconfig();
|
|
|
iotDeviceconfig.setDevcfgBid(iotDeviceconfig.getUUId());
|
|
iotDeviceconfig.setDevcfgBid(iotDeviceconfig.getUUId());
|
|
|
- iotDeviceconfig.setCId(iotDevice.getTid());
|
|
|
|
|
|
|
+ iotDeviceconfig.setTid(iotDevice.getTid());
|
|
|
iotDeviceconfig.setDevBid(iotCbdConfigEditReqVo.getCdbdataBid());
|
|
iotDeviceconfig.setDevBid(iotCbdConfigEditReqVo.getCdbdataBid());
|
|
|
iotDeviceconfig.setDevcfgContext(JSONUtils.toJSONString(iotCbdConfigEditReqVo.getIotCbdConfig()));
|
|
iotDeviceconfig.setDevcfgContext(JSONUtils.toJSONString(iotCbdConfigEditReqVo.getIotCbdConfig()));
|
|
|
iotDeviceconfig.setDevcfgDelstatus("0");
|
|
iotDeviceconfig.setDevcfgDelstatus("0");
|
|
@@ -139,7 +139,7 @@ public class IotCbdServiceImpl extends IotDeviceBaseServiceImpl implements IotCb
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
IotDeviceconfig iotDeviceconfig = new IotDeviceconfig();
|
|
IotDeviceconfig iotDeviceconfig = new IotDeviceconfig();
|
|
|
- iotDeviceconfig.setCId(iotDevice.getTid());
|
|
|
|
|
|
|
+ iotDeviceconfig.setTid(iotDevice.getTid());
|
|
|
iotDeviceconfig.setDevBid(devBid);
|
|
iotDeviceconfig.setDevBid(devBid);
|
|
|
|
|
|
|
|
CmdGroupModel cmdGroupModel = iIotDeviceconfigService.createTakePhotoCmd(iotDeviceconfig);
|
|
CmdGroupModel cmdGroupModel = iIotDeviceconfigService.createTakePhotoCmd(iotDeviceconfig);
|
|
@@ -168,7 +168,7 @@ public class IotCbdServiceImpl extends IotDeviceBaseServiceImpl implements IotCb
|
|
|
payload.put("cmd", "read");
|
|
payload.put("cmd", "read");
|
|
|
payload.put("ext", "data");
|
|
payload.put("ext", "data");
|
|
|
IotDeviceconfig iotDeviceconfig = new IotDeviceconfig();
|
|
IotDeviceconfig iotDeviceconfig = new IotDeviceconfig();
|
|
|
- iotDeviceconfig.setCId(iotDevice.getTid());
|
|
|
|
|
|
|
+ iotDeviceconfig.setTid(iotDevice.getTid());
|
|
|
iotDeviceconfig.setDevBid(devBid);
|
|
iotDeviceconfig.setDevBid(devBid);
|
|
|
iotDeviceconfig.setDevcfgContext(JSONUtils.toJSONString(payload));
|
|
iotDeviceconfig.setDevcfgContext(JSONUtils.toJSONString(payload));
|
|
|
|
|
|