|
|
@@ -192,9 +192,14 @@ public class MissionServiceImpl extends BaseServiceImpl<ThMissionMapper, ThMissi |
|
|
|
thMissionUpdate.setMileage(missionStatusRequest.getMileage()); |
|
|
|
boolean result=false; |
|
|
|
|
|
|
|
AirWeatherVO weather = inspectionService.getWeather(thMission.getAirportId()); |
|
|
|
String weatherStr = WeatherUtil.getWeather(weather); |
|
|
|
thMissionUpdate.setWeather(weatherStr); |
|
|
|
try { |
|
|
|
AirWeatherVO weather = inspectionService.getWeather(thMission.getAirportId()); |
|
|
|
String weatherStr = WeatherUtil.getWeather(weather); |
|
|
|
thMissionUpdate.setWeather(weatherStr); |
|
|
|
}catch (Exception e){ |
|
|
|
thMissionUpdate.setWeather(""); |
|
|
|
log.info("获取天气信息失败,请重试"); |
|
|
|
} |
|
|
|
|
|
|
|
//任务调用完成之后,调用发送通道,请求DSP关闭请求 |
|
|
|
//调用DSP接口 |