This commit is contained in:
linfso 2024-09-01 20:48:16 +08:00
parent 021e586a4d
commit f6b049a514
2 changed files with 5 additions and 5 deletions

View File

@ -109,10 +109,10 @@ public class Oms2cWarehouseInController extends BaseController
* @return
*/
@Log(title = "导出进仓单文件", businessType = BusinessType.EXPORT)
@PostMapping("/exportWarehouseInTpl")
public void exportWarehouseInTpl(HttpServletResponse servletResponse, WaybillOrder waybillOrder) throws IOException {
@GetMapping("/exportWarehouseInTpl")
public void exportWarehouseInTpl(HttpServletResponse servletResponse, String orderSn) throws IOException {
Response response = this.iRpcWarehouseInSvc.exportWarehouseInTpl(waybillOrder);
Response response = this.iRpcWarehouseInSvc.exportWarehouseInTpl(orderSn);
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("orderSn") String orderSn);
}