...
|
...
|
@@ -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.GetTransportFeign;
|
|
|
import com.sunyo.wlpt.cgonms.provide.service.*;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
...
|
...
|
@@ -37,6 +38,9 @@ public class CgoNmsController { |
|
|
@Resource
|
|
|
private GetCgoAsmFeign getCgoAsmFeign;
|
|
|
|
|
|
@Resource
|
|
|
private GetTransportFeign getTransportFeign;
|
|
|
|
|
|
/**
|
|
|
* 根据航班日期获取出新舱单服务中的响应数据
|
|
|
*
|
...
|
...
|
@@ -114,8 +118,10 @@ public class CgoNmsController { |
|
|
}
|
|
|
}
|
|
|
System.out.println("新舱单服务,获取完毕");
|
|
|
List<ResultExitData> info = getCgoAsmFeign.getInfo(resultList);
|
|
|
System.out.println("代理人服务,获取完毕");
|
|
|
System.out.println("代理人服务,开始获取");
|
|
|
List<ResultExitData> asmInfo = getCgoAsmFeign.getInfo(resultList);
|
|
|
System.out.println("运输工具服务,开始获取");
|
|
|
List<ResultExitData> info = getTransportFeign.getInfo(asmInfo);
|
|
|
return info;
|
|
|
}
|
|
|
} |
...
|
...
|
|