瀏覽代碼

Merge branch 'develop' of gitadmin/tuoheng_lc into release

tags/v1.2.0^2
wanjing 1 年之前
父節點
當前提交
806da2616c
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/airport/drone/QueryDroneDataService.java

+ 3
- 0
tuoheng-admin/src/main/java/com/tuoheng/admin/service/airport/drone/QueryDroneDataService.java 查看文件

@@ -57,12 +57,15 @@ public class QueryDroneDataService {
throw new ServiceException("没有正在飞行的任务");
}

log.info("获取无人机数据信息1, missionId={}, emergencyDataMissionId={}", mission.getId(), mission.getEmergencyDataMissionId());

Integer missionId;
if (0 == mission.getEmergencyDataMissionId()) {
missionId = mission.getId();
} else {
missionId = mission.getEmergencyDataMissionId();
}
log.info("获取无人机数据信息2, missionId={}", missionId);

Map<String, Object> map = new HashMap<>();
map.put("id", missionId);

Loading…
取消
儲存