|
|
@@ -295,6 +295,9 @@ public class IIotSfCommService extends IotDeviceBaseServiceImpl implements IotDe
|
|
|
throw new IotBizException(ErrorCode.INVALID_PARAMETER.getCode(),"设备不存在");
|
|
|
}
|
|
|
IotDeviceconfig iotDeviceconfig = iIotDeviceconfigService.selectIotDeviceConfigByDevBid(devBid);
|
|
|
+ if(iotDeviceconfig == null){
|
|
|
+ throw new IotBizException(ErrorCode.INVALID_PARAMETER.getCode(),"配置信息不存在,请检查设备");
|
|
|
+ }
|
|
|
return JSONObject.parseObject(iotDeviceconfig.getDevcfgContext());
|
|
|
}
|
|
|
|