md
This commit is contained in:
parent
b0cdcdcff5
commit
24c05b9466
@ -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
|
||||||
|
|||||||
@ -46,6 +46,11 @@ public class WaybillOrder implements Serializable {
|
|||||||
/* 订单号 */
|
/* 订单号 */
|
||||||
private String orderSn;
|
private String orderSn;
|
||||||
|
|
||||||
|
/* 订单备注 */
|
||||||
|
private String orderRemark;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* 子单号,逗号隔开 */
|
/* 子单号,逗号隔开 */
|
||||||
private String billCodeSub;
|
private String billCodeSub;
|
||||||
|
|
||||||
|
|||||||
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user