|
|
@@ -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()); // 设置默认用户 |