소스 검색

Merge branch 'develop' of http://192.168.11.14:51037/gitadmin/tuoheng_telecomumale into develop

tags/v1.3.1
chengwang 1 년 전
부모
커밋
9cab9de688
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. +7
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/fly/log/FlyLogByNormalService.java

+ 7
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/fly/log/FlyLogByNormalService.java 파일 보기

@@ -6,6 +6,7 @@ import com.tuoheng.admin.entity.InspectionHistory;
import com.tuoheng.admin.enums.InspectionStatusEnum;
import com.tuoheng.admin.mapper.InspectionHistoryMapper;
import com.tuoheng.admin.mapper.InspectionMapper;
import com.tuoheng.admin.service.report.generate.GenerateReportService;
import com.tuoheng.admin.service.third.dsp.IDspService;
import com.tuoheng.admin.tzhl.response.TZHLFlyLogResponse;
import com.tuoheng.admin.tzhl.service.fly.data.FlyDataService;
@@ -47,6 +48,9 @@ public class FlyLogByNormalService {
@Autowired
private FlyDataService flyDataService;

@Autowired
private GenerateReportService generateReportService;

public void getFlyLog(Inspection inspection, TZHLFlyLogResponse flyLogResponse) {
log.info("获取飞行日志,status=normal,title={}", flyLogResponse.getTitle());

@@ -129,6 +133,9 @@ public class FlyLogByNormalService {

this.updateInspection(inspection);

// 任务完成后自动生成报告
generateReportService.generateByAuto(inspection);

// 拉取飞行数据
flyDataService.getFlyData(inspection);


Loading…
취소
저장