| | |
| | | */ |
| | | private String baseUrl; |
| | | |
| | | /** |
| | | * 鼎捷 ilcwmsplus 完成反馈等公共字段(orgNo、单据类别、单位) |
| | | */ |
| | | private Dap dap = new Dap(); |
| | | |
| | | /** |
| | | * 对应 yml {@code platform.erp.api};与独立 Bean 不同,挂在 {@link RemotesInfoProperties} 上便于一处查看入/出库 path |
| | | */ |
| | | private ApiInfo api = new ApiInfo(); |
| | | |
| | | @Data |
| | | @Configuration |
| | | @ConfigurationProperties(prefix = "platform.erp.api") |
| | | public class ApiInfo { |
| | | public static class Dap { |
| | | private String orgNo = ""; |
| | | private String docTypeIn = ""; |
| | | private String docTypeOut = ""; |
| | | /** 库存调整(9.2)单据类别;移库等 */ |
| | | private String docTypeAdj = ""; |
| | | private String unitNo = "PCS"; |
| | | } |
| | | |
| | | @Data |
| | | public static class ApiInfo { |
| | | /** 一键上报质检接口 */ |
| | | private String notifyInspect; |
| | | /** 9.1 入/出库结果上报(立库侧请求云仓) */ |
| | | private String inOutResultPath = "/api/report/inOutResult"; |
| | | /** 9.2 库存调整主动上报(立库侧请求云仓) */ |
| | | /** 与 CloudWmsErpFeignClient 路径一致;Feign 实际 URL = platform.erp.base-url + 本 path */ |
| | | private String stockInCompletedPath = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockInCompleted"; |
| | | private String stockOutCompletedPath = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockOutCompleted"; |
| | | /** 9.2 库存调整 */ |
| | | private String inventoryAdjustPath = "/api/report/inventoryAdjust"; |
| | | /** 物料基础信息同步(立库侧请求云仓) */ |
| | | /** 物料基础信息同步 */ |
| | | private String matSyncPath = "/api/mat/sync"; |
| | | } |
| | | |