From b21ca070526ec10fbea98e29135751776dc31059 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期四, 30 四月 2026 10:09:47 +0800
Subject: [PATCH] 增加一种入库单类型
---
rsf-server/src/main/java/com/vincent/rsf/server/api/feign/CloudWmsErpFeignClient.java | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/feign/CloudWmsErpFeignClient.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/feign/CloudWmsErpFeignClient.java
index 2d6cd63..50d3a17 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/api/feign/CloudWmsErpFeignClient.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/feign/CloudWmsErpFeignClient.java
@@ -10,25 +10,30 @@
import java.util.Map;
/**
- * 绔嬪簱渚ч�氳繃 OpenFeign 璋冪敤浜戜粨锛�9.1 榧庢嵎 ilcwmsplus 鍏�/鍑哄簱瀹屾垚鍙嶉锛堜袱 URL锛夛紱9.2 浠嶄负 /api/report/inventoryAdjust锛岃姹備綋涓� 9.1 鐩稿悓 {data:[]}锛堢敱 Service 浠� InventoryAdjustReportParam 缁勮锛夈��
+ * 绔嬪簱渚ч�氳繃 OpenFeign 璋冪敤浜戜粨锛欼CusStockService 鍏ュ簱/鍑哄簱/璋冩嫧瀹屾垚鍙嶉锛�9.2 闈炵Щ搴撹皟鏁翠粛涓� /api/report/inventoryAdjust锛岃姹備綋鍚屼负 {data:[]}銆�
* 浣跨敤 platform.erp.base-url 浣滀负鏍瑰湴鍧�锛涘け璐ユ椂璧� Fallback锛岀粺涓�杩斿洖閿欒鍝嶅簲锛堜笉鎶涘紓甯革級銆�
*/
@FeignClient(
name = "cloudWmsErp",
url = "${platform.erp.base-url:http://127.0.0.1:8080}",
- fallbackFactory = CloudWmsErpFeignClientFallbackFactory.class
+ fallbackFactory = CloudWmsErpFeignClientFallbackFactory.class,
+ configuration = FeignHttpAuditConfiguration.class
)
public interface CloudWmsErpFeignClient {
- /**9.1.1 绔嬪簱鍏ュ簱浠诲姟瀹屾垚鍙嶉 */
- @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/IKWebService/cusInventoryCompletionReport", consumes = MediaType.APPLICATION_JSON_VALUE)
+ /** 9.1.1 绔嬪簱鍏ュ簱浠诲姟瀹屾垚鍙嶉 */
+ @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockInCompleted", consumes = MediaType.APPLICATION_JSON_VALUE)
Map<String, Object> cusInventoryCompletionReport(@RequestBody DapIlcwmsCompletionRequest body);
- /**9.1.2 绔嬪簱鍑哄簱浠诲姟瀹屾垚鍙嶉 */
- @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/IKWebService/cusOutboundCompletionReport", consumes = MediaType.APPLICATION_JSON_VALUE)
+ /** 9.1.2 绔嬪簱鍑哄簱浠诲姟瀹屾垚鍙嶉 */
+ @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockOutCompleted", consumes = MediaType.APPLICATION_JSON_VALUE)
Map<String, Object> cusOutboundCompletionReport(@RequestBody DapIlcwmsCompletionRequest body);
- /** 9.2 搴撳瓨璋冩暣涓诲姩涓婃姤锛堣矾寰勪笉鍙橈紱body 涓庡叆鍑哄簱涓�鑷寸殑 data 鏁扮粍缁撴瀯锛� */
+ /** 璋冩嫧锛坈hangeType=3锛夊畬鎴愬弽棣堬紝鎶ユ枃浣撲笌 9.1 涓�鑷� {data:[]} */
+ @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockTransferCompleted", consumes = MediaType.APPLICATION_JSON_VALUE)
+ Map<String, Object> stockTransferCompleted(@RequestBody DapIlcwmsCompletionRequest body);
+
+ /** 9.2 搴撳瓨璋冩暣涓诲姩涓婃姤锛坈hangeType 1/2锛涚Щ搴撴敼璧� stockTransferCompleted锛� */
@PostMapping(value = "/api/report/inventoryAdjust", consumes = MediaType.APPLICATION_JSON_VALUE)
Map<String, Object> reportInventoryAdjust(@RequestBody DapIlcwmsCompletionRequest body);
--
Gitblit v1.9.1