This commit is contained in:
linfso 2024-07-27 12:41:18 +08:00
parent b0cdcdcff5
commit 24c05b9466
3 changed files with 22 additions and 0 deletions

View File

@ -13,6 +13,7 @@ package com.xdadan.erp.oms.web;
import java.io.*; import java.io.*;
import java.util.*; import java.util.*;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid; import javax.validation.Valid;
import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.collection.CollectionUtil;
@ -121,6 +122,16 @@ public class Oms2cWaybillController extends BaseController
return this.iRpcWaybillSvc.draftSubmitOrderByOms(emisWaybillSave); return this.iRpcWaybillSvc.draftSubmitOrderByOms(emisWaybillSave);
} }
/**
* 导出进仓单模板
* @return
*/
@Log(title = "导出进仓单", businessType = BusinessType.EXPORT)
@PostMapping("/exportWarehouseInTpl")
public AjaxResult exportWarehouseInTpl(WaybillOrder waybillOrder) {
return this.iRpcWaybillSvc.exportWarehouseInTpl(waybillOrder);
}
/** /**
* 使用远程调用注意:统一使用api中心进行运费试算 * 使用远程调用注意:统一使用api中心进行运费试算
* @param waybillOrder * @param waybillOrder

View File

@ -46,6 +46,11 @@ public class WaybillOrder implements Serializable {
/* 订单号 */ /* 订单号 */
private String orderSn; private String orderSn;
/* 订单备注 */
private String orderRemark;
/* 子单号,逗号隔开 */ /* 子单号,逗号隔开 */
private String billCodeSub; private String billCodeSub;

View File

@ -10,6 +10,8 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import javax.servlet.http.HttpServletResponse;
@FeignClient(name = "IRpcWaybillSvc",url = "${service.provider.url}",configuration = {FeignErrorDecoder.class}) @FeignClient(name = "IRpcWaybillSvc",url = "${service.provider.url}",configuration = {FeignErrorDecoder.class})
public interface IRpcWaybillSvc { public interface IRpcWaybillSvc {
@ -66,4 +68,8 @@ public interface IRpcWaybillSvc {
@RequestParam("ownerSiteCode")String ownerSiteCode, @RequestParam("ownerSiteCode")String ownerSiteCode,
@RequestParam("searchValue")String searchValue); @RequestParam("searchValue")String searchValue);
@PostMapping(value = "/apiweb/emisWaybill/exportWarehouseInTpl")
public AjaxResult exportWarehouseInTpl(@RequestBody WaybillOrder waybillOrder);
} }