|
|
@@ -173,6 +173,7 @@ public class IotCameraMissionRuleServiceImpl implements IotCameraMissionRuleServ
|
|
|
//本主机无摄像机绑定,删除关联
|
|
|
QueryWrapper<IotDeviceDiagnoseMissionCh> wrapperCh = new QueryWrapper<>();
|
|
|
wrapperCh.eq("iot_token", iotToken);
|
|
|
+ wrapperCh.eq("mission_id",missionId);
|
|
|
missionChMapper.delete(wrapperCh);
|
|
|
}
|
|
|
}
|
|
|
@@ -253,6 +254,7 @@ public class IotCameraMissionRuleServiceImpl implements IotCameraMissionRuleServ
|
|
|
//本主机无摄像机绑定,删除关联
|
|
|
QueryWrapper<IotDeviceDiagnoseThresholdCh> wrapperCh = new QueryWrapper<>();
|
|
|
wrapperCh.eq("iot_token", iotToken);
|
|
|
+ wrapperCh.eq("threshold_code",thresholdReq.getThresholdCode());
|
|
|
thresholdChMapper.delete(wrapperCh);
|
|
|
}
|
|
|
//更新绑定通道数量
|