Browse Source

重构调用dap代码

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
79624c0b31
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

@@ -73,6 +73,8 @@ public class DspCallbackServiceImpl implements IDspCallbackService {
log.info("业务关系数据不存在,requestId:{}", requestId);
throw new ServiceException(0, "业务数据不存在");
}
log.info("业务关系数据, business:{}", business);

// 巡检任务ID
String inspectionId = business.getTypeId();

@@ -139,7 +141,6 @@ public class DspCallbackServiceImpl implements IDspCallbackService {
if (!CollectionUtils.isEmpty(questionFiles)) {
log.info("问题图片处理开始, 图片数量:{}", questionFiles.size());
// 坐标
log.info("任务是否实时, isLive:{}", inspection.getIsLive());
boolean online_condition = AiAnalyseTypeEnum.ONLINE.getCode() == inspection.getIsLive();
boolean offline_condition = AiAnalyseTypeEnum.OFFLINE.getCode() == inspection.getIsLive();
log.info("在线:{}, 离线:{}", online_condition, offline_condition);

Loading…
Cancel
Save