From d8cbfdcac8292522dd3c39e5cafdf19a43d15a5d Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期四, 30 四月 2026 11:21:08 +0800
Subject: [PATCH] 强制组托单号必填

---
 rsf-server/src/main/java/com/vincent/rsf/server/api/feign/CloudWmsErpFeignClient.java |   26 +++++++++++++++++---------
 1 files changed, 17 insertions(+), 9 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 097fc15..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
@@ -1,7 +1,6 @@
 package com.vincent.rsf.server.api.feign;
 
-import com.vincent.rsf.server.api.controller.erp.params.InOutResultReportParam;
-import com.vincent.rsf.server.api.controller.erp.params.InventoryAdjustReportParam;
+import com.vincent.rsf.server.api.controller.erp.params.DapIlcwmsCompletionRequest;
 import com.vincent.rsf.server.api.feign.fallback.CloudWmsErpFeignClientFallbackFactory;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.http.MediaType;
@@ -11,23 +10,32 @@
 import java.util.Map;
 
 /**
- * 绔嬪簱渚ч�氳繃 OpenFeign 璋冪敤浜戜粨WMS锛氬叆/鍑哄簱缁撴灉涓婃姤锛�9.1锛夈�佸簱瀛樿皟鏁翠笂鎶ワ紙9.2锛夈�佺墿鏂欏悓姝ャ��
+ * 绔嬪簱渚ч�氳繃 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 鍏�/鍑哄簱缁撴灉涓婃姤 */
-    @PostMapping(value = "/api/report/inOutResult", consumes = MediaType.APPLICATION_JSON_VALUE)
-    Map<String, Object> reportInOutResult(@RequestBody InOutResultReportParam body);
+    /** 9.1.1 绔嬪簱鍏ュ簱浠诲姟瀹屾垚鍙嶉 */
+    @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockInCompleted", consumes = MediaType.APPLICATION_JSON_VALUE)
+    Map<String, Object> cusInventoryCompletionReport(@RequestBody DapIlcwmsCompletionRequest body);
 
-    /** 9.2 搴撳瓨璋冩暣涓诲姩涓婃姤 */
+    /** 9.1.2 绔嬪簱鍑哄簱浠诲姟瀹屾垚鍙嶉 */
+    @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/ICusStockService/stockOutCompleted", consumes = MediaType.APPLICATION_JSON_VALUE)
+    Map<String, Object> cusOutboundCompletionReport(@RequestBody DapIlcwmsCompletionRequest body);
+
+    /** 璋冩嫧锛坈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 InventoryAdjustReportParam body);
+    Map<String, Object> reportInventoryAdjust(@RequestBody DapIlcwmsCompletionRequest body);
 
     /** 鐗╂枡鍩虹淇℃伅鍚屾 */
     @PostMapping(value = "/api/mat/sync", consumes = MediaType.APPLICATION_JSON_VALUE)

--
Gitblit v1.9.1