Browse Source

修改问题入库初始状态值

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

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

@@ -8,10 +8,7 @@ import com.tuoheng.admin.entity.Business;
import com.tuoheng.admin.entity.FlightData;
import com.tuoheng.admin.entity.Inspection;
import com.tuoheng.admin.entity.InspectionFile;
import com.tuoheng.admin.enums.AiAnalyseTypeEnum;
import com.tuoheng.admin.enums.FileTypeEnum;
import com.tuoheng.admin.enums.QuestionEnum;
import com.tuoheng.admin.enums.SourceEnum;
import com.tuoheng.admin.enums.*;
import com.tuoheng.admin.mapper.BusinessMapper;
import com.tuoheng.admin.mapper.FlightDataMapper;
import com.tuoheng.admin.mapper.InspectionFileMapper;
@@ -186,7 +183,7 @@ public class DspCallbackServiceImpl implements IDspCallbackService {
// 问题名称
inspectionFile.setQuestionName(questionFile.getQuestionName());
// 问题图片审核状态
inspectionFile.setStatus(QuestionEnum.NOTREVIEWED.getCode());
inspectionFile.setStatus(InspectionFileStatusEnum.WAIT_CONFIRMED.getCode());
// 问题图片来源
inspectionFile.setSource(SourceEnum.AI.getCode());
inspectionFile.setCreateUser(business.getCreateUser()); // 设置默认用户

Loading…
Cancel
Save