|
|
@@ -150,7 +150,13 @@ public class ThInspectionServiceImpl extends BaseServiceImpl<ThInspectionMapper, |
|
|
|
jsonObject.put("taskId", thMission.getInspectionLine()); |
|
|
|
jsonObject.put("requestId", missionId); |
|
|
|
log.info("***** executeTask url:{};param:{}", url, jsonObject.toJSONString()); |
|
|
|
String airPortStr = HttpUtils.doSend(url, jsonObject, null, "POST"); |
|
|
|
String airPortStr = null; |
|
|
|
try { |
|
|
|
airPortStr = HttpUtils.doSend(url, jsonObject, null, "POST"); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("调用机场executeTask接口异常:",e); |
|
|
|
return JsonResult.error("调用机场executeTask接口异常"); |
|
|
|
} |
|
|
|
if(StringUtils.isEmpty(airPortStr)){ |
|
|
|
return JsonResult.error("机场接口返回数据为空"); |
|
|
|
} |