This commit is contained in:
linfso 2024-08-31 07:24:49 +08:00
parent 738b48a739
commit 4c69ea078a
2 changed files with 4 additions and 5 deletions

View File

@ -109,10 +109,9 @@ public class Oms2cWarehouseInController extends BaseController
*/ */
@Log(title = "导出进仓单文件", businessType = BusinessType.EXPORT) @Log(title = "导出进仓单文件", businessType = BusinessType.EXPORT)
@GetMapping("/exportWarehouseInTpl") @GetMapping("/exportWarehouseInTpl")
public void exportWarehouseInTpl(HttpServletResponse servletResponse, String inNo) throws IOException { public void exportWarehouseInTpl(HttpServletResponse servletResponse, @RequestBody WaybillOrder waybillOrder) throws IOException {
Response response = this.iRpcWarehouseInSvc.exportWarehouseInTpl(waybillOrder);
Response response = this.iRpcWarehouseInSvc.exportWarehouseInTpl(getLoginUser().getUser().getCustomerCode(),inNo);
Response.Body body = response.body(); Response.Body body = response.body();
for (Object key : response.headers().keySet()) { for (Object key : response.headers().keySet()) {
List<String> kList = (List<String>) response.headers().get(key); List<String> kList = (List<String>) response.headers().get(key);

View File

@ -39,7 +39,7 @@ public interface IRpcWarehouseInSvc {
public AjaxResult getWarehouseInByInNo(@RequestParam("customerCode") String customerCode,@RequestParam("inNo")String inNo); public AjaxResult getWarehouseInByInNo(@RequestParam("customerCode") String customerCode,@RequestParam("inNo")String inNo);
@GetMapping(value = "/apiweb/emisWarehouseIn/exportWarehouseInTpl") @PostMapping(value = "/apiweb/emisWarehouseIn/exportWarehouseInTpl")
public Response exportWarehouseInTpl(@RequestParam("customerCode") String customerCode,@RequestParam("inNo")String inNo); public Response exportWarehouseInTpl(@RequestBody WaybillOrder waybillOrder);
} }