...
|
...
|
@@ -2,6 +2,7 @@ package com.sunyo.wlpt.cgonms.provide.controller; |
|
|
|
|
|
import com.sunyo.wlpt.cgonms.provide.domain.*;
|
|
|
import com.sunyo.wlpt.cgonms.provide.feign.GetCgoAsmFeign;
|
|
|
import com.sunyo.wlpt.cgonms.provide.feign.GetDataWareHouseFeign;
|
|
|
import com.sunyo.wlpt.cgonms.provide.feign.GetTransportFeign;
|
|
|
import com.sunyo.wlpt.cgonms.provide.service.*;
|
|
|
import org.springframework.web.bind.annotation.*;
|
...
|
...
|
@@ -41,10 +42,14 @@ public class CgoNmsController { |
|
|
@Resource
|
|
|
private GetTransportFeign getTransportFeign;
|
|
|
|
|
|
@Resource
|
|
|
GetDataWareHouseFeign getDataWareHouseFeign;
|
|
|
|
|
|
/**
|
|
|
* 根据航班日期获取出新舱单服务中的响应数据
|
|
|
* 根据航班日期、航班号,获取出出港业务统计数据
|
|
|
*
|
|
|
* @param flightDate 航班日期
|
|
|
* @param flightNo 航班号
|
|
|
* @return {@link ResultExitData}
|
|
|
*/
|
|
|
@GetMapping("/getInfo")
|
...
|
...
|
@@ -117,11 +122,13 @@ public class CgoNmsController { |
|
|
result.setAimStation(pm.get(0).getDestinationStation());
|
|
|
}
|
|
|
}
|
|
|
System.out.println("新舱单服务,获取完毕");
|
|
|
System.out.println("代理人服务,开始获取");
|
|
|
List<ResultExitData> asmInfo = getCgoAsmFeign.getInfo(resultList);
|
|
|
List<ResultExitData> asmInfo = getCgoAsmFeign.getInfo(resultList);
|
|
|
System.out.println("运输工具服务,开始获取");
|
|
|
List<ResultExitData> info = getTransportFeign.getInfo(asmInfo);
|
|
|
List<ResultExitData> transportInfo = getTransportFeign.getInfo(asmInfo);
|
|
|
System.out.println("数据仓库服务,开始获取");
|
|
|
List<ResultExitData> info = getDataWareHouseFeign.getInfo(transportInfo);
|
|
|
System.out.println("出港基本数据,获取完毕");
|
|
|
return info;
|
|
|
}
|
|
|
} |
...
|
...
|
|