This commit is contained in:
linfso 2024-08-31 07:20:55 +08:00
parent 37b5a34c70
commit e8adf8a50a
2 changed files with 5 additions and 4 deletions

View File

@ -109,9 +109,10 @@ public class Oms2cWarehouseInController extends BaseController
*/
@Log(title = "导出进仓单文件", businessType = BusinessType.EXPORT)
@GetMapping("/exportWarehouseInTpl")
public void exportWarehouseInTpl(HttpServletResponse servletResponse, @RequestBody WaybillOrder waybillOrder) throws IOException {
public void exportWarehouseInTpl(HttpServletResponse servletResponse, String inNo) throws IOException {
Response response = this.iRpcWarehouseInSvc.exportWarehouseInTpl(waybillOrder);
Response response = this.iRpcWarehouseInSvc.exportWarehouseInTpl(inNo);
Response.Body body = response.body();
for (Object key : response.headers().keySet()) {
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);
@PostMapping(value = "/apiweb/emisWarehouseIn/exportWarehouseInTpl")
public Response exportWarehouseInTpl(@RequestBody WaybillOrder waybillOrder);
@GetMapping(value = "/apiweb/emisWarehouseIn/exportWarehouseInTpl")
public Response exportWarehouseInTpl(@RequestParam("customerCode") String customerCode,@RequestParam("inNo")String inNo);
}