瀏覽代碼

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.0.0^2
wanjing 1 年之前
父節點
當前提交
4732f869df
共有 1 個檔案被更改,包括 2 行新增1 行删除
  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 查看文件

@@ -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…
取消
儲存