소스 검색

1、修改bug3748 应急看板-事故列表; 2、修改dsp回调,添加日志;

tags/v1.2.0^2
wanjing 1 년 전
부모
커밋
49ec17d3c2
2개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java
  2. +4
    -2
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/AccidentMapper.xml

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java 파일 보기

@@ -152,7 +152,7 @@ public class DspCallbackServiceImpl implements IDspCallbackService {
List<QuestionFile> questionFiles = dspCallbackRequest.getQuestionFiles();
if (!CollectionUtils.isEmpty(questionFiles)) {
log.info("问题图片处理开始, 图片数量:{}", questionFiles.size());
log.info("问题图片处理开始, isLive:{}", inspection.getIsLive());
log.info("问题图片处理开始, inspectionId:{}, isLive:{}", inspection.getId(), inspection.getIsLive());
// 坐标
boolean online_condition = AiAnalyseTypeEnum.ONLINE.getCode() == inspection.getIsLive();
boolean offline_condition = AiAnalyseTypeEnum.OFFLINE.getCode() == inspection.getIsLive();

+ 4
- 2
tuoheng-service/tuoheng-admin/src/main/resources/mapper/AccidentMapper.xml 파일 보기

@@ -10,7 +10,9 @@
<result property="inspectionFileId" column="inspection_file_id" />
<result property="accidentInspectionId" column="accident_inspection_id" />
<result property="roadId" column="road_id" />
<result property="roadCode" column="road_code" />
<result property="sectionId" column="section_id" />
<result property="sectionName" column="section_name" />
<result property="questionId" column="question_id" />
<result property="questionCode" column="question_code" />
<result property="questionName" column="question_name" />
@@ -40,13 +42,13 @@


<sql id="Base_Column_List">
id, tenant_id, dept_id, inspection_id, inspection_file_id, accident_inspection_id, road_id, section_id, question_id, question_code, question_name,
id, tenant_id, dept_id, inspection_id, inspection_file_id, accident_inspection_id, road_id, road_code, section_id, section_name, question_id, question_code, question_name,
is_casualties, is_driving_safety, is_fire, record, longitude, latitude, uav_return, status, create_user, create_time, update_user, update_time,
check_user, check_time, check_result, verification_time, report_time, no_accident_time, ignore_time, end_time, flag, mark
</sql>

<sql id="selectThAccidentVo">
select id, tenant_id, dept_id, inspection_id, inspection_file_id, accident_inspection_id, road_id, section_id, question_id, question_code, question_name,
select id, tenant_id, dept_id, inspection_id, inspection_file_id, accident_inspection_id, road_id, road_code, section_id, section_name, question_id, question_code, question_name,
is_casualties, is_driving_safety, is_fire, record, longitude, latitude, uav_return, status, create_user, create_time, update_user, update_time,
check_user, check_time, check_result, verification_time, report_time, no_accident_time, ignore_time, end_time, flag, mark
from th_accident

Loading…
취소
저장