浏览代码

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);

正在加载...
取消
保存