|
|
@@ -236,6 +236,10 @@ public class IotDeviceScdController extends BaseController {
|
|
|
if(StringUtils.isEmpty(devBid) || iotScdConfig == null){
|
|
|
throw new IotBizException(IotErrorCode.PARAM_INVALID.getCode(),"参数不能为空");
|
|
|
}
|
|
|
+ if(StringUtils.isEmpty(iotScdConfig.getClt_t())){
|
|
|
+ throw new IotBizException(IotErrorCode.PARAM_INVALID.getCode(),"参数不能为空");
|
|
|
+ }
|
|
|
+
|
|
|
IotDevice iotDevice = iIotDeviceService.selectIotDeviceByDevBid(devBid);
|
|
|
if(iotDevice == null){
|
|
|
throw new IotBizException(ErrorCode.INVALID_PARAMETER.getCode(),"设备不存在");
|