|
|
@@ -58,15 +58,18 @@ public class GetAirportDetailService { |
|
|
|
mountJson.getString("searchlightName") |
|
|
|
); |
|
|
|
} |
|
|
|
JSONObject metJson = dataObject.getJSONObject("mountEquipmentList"); |
|
|
|
if(ObjectUtil.isNotNull(metJson)){ |
|
|
|
//json-->string |
|
|
|
String mountEquipmentList = metJson.toJSONString(); |
|
|
|
if(StringUtils.isNotEmpty(mountEquipmentList)){ |
|
|
|
List<MountEquipment> mountEquipments = JSONObject.parseArray(mountEquipmentList, MountEquipment.class); |
|
|
|
vo.setMountEquipmentList(mountEquipments); |
|
|
|
} |
|
|
|
if(Objects.nonNull(mountJson)){ |
|
|
|
String strJson = mountJson.getString("mountEquipmentList"); |
|
|
|
|
|
|
|
log.info("参数信息,strJson={}",strJson); |
|
|
|
if(StringUtils.isNotEmpty(strJson)){ |
|
|
|
String mountEquipmentList = strJson; |
|
|
|
if(StringUtils.isNotEmpty(mountEquipmentList)){ |
|
|
|
List<MountEquipment> mountEquipments = JSONObject.parseArray(mountEquipmentList, MountEquipment.class); |
|
|
|
vo.setMountEquipmentList(mountEquipments); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
vo.setStatus(dataObject.getString("status")); |
|
|
|
return JsonResult.success(vo); |