@@ -80,8 +80,9 @@ public class DspCallbackServiceImpl implements IDspCallbackService { | |||
Inspection inspection = inspectionMapper.selectOne(new LambdaQueryWrapper<Inspection>() | |||
.eq(Inspection::getId, inspectionId) | |||
.eq(Inspection::getTenantId, business.getTenantId())); | |||
log.info("任务, inspection:{}", inspection); | |||
if (ObjectUtil.isNull(inspection)) { | |||
log.info("巡检任务不存在"); | |||
log.info("任务不存在"); | |||
throw new ServiceException(0, "巡检任务不存在"); | |||
} | |||
log.info("巡检任务查询成功,分析状态为:{}", dspCallbackRequest.getAnalyseStatus()); |