Parcourir la source

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

tags/v1.3.1
chengwang il y a 1 an
Parent
révision
9cab9de688
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  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 Voir le fichier

import com.tuoheng.admin.enums.InspectionStatusEnum; import com.tuoheng.admin.enums.InspectionStatusEnum;
import com.tuoheng.admin.mapper.InspectionHistoryMapper; import com.tuoheng.admin.mapper.InspectionHistoryMapper;
import com.tuoheng.admin.mapper.InspectionMapper; 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.service.third.dsp.IDspService;
import com.tuoheng.admin.tzhl.response.TZHLFlyLogResponse; import com.tuoheng.admin.tzhl.response.TZHLFlyLogResponse;
import com.tuoheng.admin.tzhl.service.fly.data.FlyDataService; import com.tuoheng.admin.tzhl.service.fly.data.FlyDataService;
@Autowired @Autowired
private FlyDataService flyDataService; private FlyDataService flyDataService;


@Autowired
private GenerateReportService generateReportService;

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




this.updateInspection(inspection); this.updateInspection(inspection);


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

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



Chargement…
Annuler
Enregistrer