Browse Source

重构调用dap代码

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
3f19a4e496
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java

+ 2
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java View File

@@ -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());

Loading…
Cancel
Save