Commit 8bd666a5 authored by 王晓倩's avatar 王晓倩

预警数据推送校验设备编号调整

parent 33f3c68b
...@@ -349,12 +349,12 @@ public class TDetectorReportController extends BaseController ...@@ -349,12 +349,12 @@ public class TDetectorReportController extends BaseController
log.error("【新增泽宏设备上报数据】参数不正确,zhDeviceReportDataForm={}",tDetectorReportDataForm); log.error("【新增泽宏设备上报数据】参数不正确,zhDeviceReportDataForm={}",tDetectorReportDataForm);
throw new IOCException(ResultEnum.PARAM_ERROR.getCode(),bindingResult.getFieldError().getDefaultMessage()); throw new IOCException(ResultEnum.PARAM_ERROR.getCode(),bindingResult.getFieldError().getDefaultMessage());
} }
log.info("泽宏设备上报数据===="+tDetectorReportDataForm.toString());
TDetectorInfo detector = tDetectorInfoService.selectTDetectorInfoByCode(tDetectorReportDataForm.getDeviceNo()); TDetectorInfo detector = tDetectorInfoService.selectTDetectorInfoByCode(tDetectorReportDataForm.getDeviceNo());
if(detector == null){ if(detector == null){
throw new IOCException(ResultEnum.DETECTOR_NOEXIST); throw new IOCException(ResultEnum.DETECTOR_NOEXIST);
} }
log.info("泽宏设备上报数据===="+tDetectorReportDataForm.toString());
try { try {
boolean flag = true; boolean flag = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment