This commit is contained in:
linfso 2024-07-15 18:31:25 +08:00
parent 8841d9809f
commit 8e7e4cf123
3 changed files with 8 additions and 3 deletions

View File

@ -82,6 +82,8 @@ public class Oms2cWaybillController extends BaseController
@Log(title = "OMSExcel草稿方式下单", businessType = BusinessType.INSERT)
@PostMapping(value = "/draftSubmitOrder")
public AjaxResult draftSubmitOrder(@RequestBody EmisWaybill emisWaybillSave){
waybillOrder.setUserId(getLoginUser().getUser().getId());
waybillOrder.setCustomerCode(getLoginUser().getUser().getCustomerCode());
return this.iRpcWaybillSvc.draftSubmitOrderByOms(emisWaybillSave);
}

View File

@ -427,8 +427,6 @@ public class EmisWaybill extends BaseEntity
/* ext_info */
private String extInfo;
@TableField(exist = false)
private List<EmisWaybillCargo> cargoList;
@TableField(exist = false)

View File

@ -42,7 +42,12 @@ public interface IRpcWaybillSvc {
public AjaxResult getWaybillDetailByOms(@RequestParam("billCode")String billCode,@RequestParam("orderSn") String orderSn);
@PostMapping(value = "/draftSubmitOrderByOms")
/**
* oms批量下单
* @param emisWaybillSave
* @return
*/
@PostMapping(value = "/apiweb/emisWaybill/draftSubmitOrderByOms")
public AjaxResult draftSubmitOrderByOms(@RequestBody EmisWaybill emisWaybillSave);
}