Commit e684eeec authored by zhangjianqian's avatar zhangjianqian

异常打印修改

parent 4ddda673
......@@ -360,7 +360,9 @@ public class TDetectorReportController extends BaseController
// 查询设备编号,is_del是0
TDetectorInfo detector = tDetectorInfoService.selectTDetectorInfoByCode(tDetectorReportDataForm.getDeviceNo());
if(detector == null){
throw new IOCException(ResultEnum.DETECTOR_NOEXIST);
log.error("探测器编号不存在:"+tDetectorReportDataForm.getDeviceNo());
return null;
//throw new IOCException(ResultEnum.DETECTOR_NOEXIST);
}
try {
......
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