|
@ -187,7 +187,7 @@ public class DataInputService {
|
|
|
throw new ServiceException("设备数据data超过最大允许字符");
|
|
|
}
|
|
|
String categoryCode = jsonObject.getString("categoryCode");
|
|
|
if(StringUtils.isBlank(hospital)){
|
|
|
if(StringUtils.isBlank(categoryCode)){
|
|
|
throw new ServiceException("设备类型不能为空");
|
|
|
}
|
|
|
IotDeviceDO iotDeviceDO = iotDeviceService.findByDeviceSn(deviceSn);
|