From 52e09a6b7b7054fc51b9d4bf5f1fbec0a57e60f1 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期三, 08 四月 2026 11:37:39 +0800
Subject: [PATCH] 云仓回报调整
---
rsf-server/src/main/java/com/vincent/rsf/server/api/feign/CloudWmsErpFeignClient.java | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 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..2d6cd63 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,7 +10,7 @@
import java.util.Map;
/**
- * 绔嬪簱渚ч�氳繃 OpenFeign 璋冪敤浜戜粨WMS锛氬叆/鍑哄簱缁撴灉涓婃姤锛�9.1锛夈�佸簱瀛樿皟鏁翠笂鎶ワ紙9.2锛夈�佺墿鏂欏悓姝ャ��
+ * 绔嬪簱渚ч�氳繃 OpenFeign 璋冪敤浜戜粨锛�9.1 榧庢嵎 ilcwmsplus 鍏�/鍑哄簱瀹屾垚鍙嶉锛堜袱 URL锛夛紱9.2 浠嶄负 /api/report/inventoryAdjust锛岃姹備綋涓� 9.1 鐩稿悓 {data:[]}锛堢敱 Service 浠� InventoryAdjustReportParam 缁勮锛夈��
* 浣跨敤 platform.erp.base-url 浣滀负鏍瑰湴鍧�锛涘け璐ユ椂璧� Fallback锛岀粺涓�杩斿洖閿欒鍝嶅簲锛堜笉鎶涘紓甯革級銆�
*/
@FeignClient(
@@ -21,13 +20,17 @@
)
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/IKWebService/cusInventoryCompletionReport", consumes = MediaType.APPLICATION_JSON_VALUE)
+ Map<String, Object> cusInventoryCompletionReport(@RequestBody DapIlcwmsCompletionRequest body);
- /** 9.2 搴撳瓨璋冩暣涓诲姩涓婃姤 */
+ /**9.1.2 绔嬪簱鍑哄簱浠诲姟瀹屾垚鍙嶉 */
+ @PostMapping(value = "/dapilc/restful/service/ilcwmsplus/IKWebService/cusOutboundCompletionReport", consumes = MediaType.APPLICATION_JSON_VALUE)
+ Map<String, Object> cusOutboundCompletionReport(@RequestBody DapIlcwmsCompletionRequest body);
+
+ /** 9.2 搴撳瓨璋冩暣涓诲姩涓婃姤锛堣矾寰勪笉鍙橈紱body 涓庡叆鍑哄簱涓�鑷寸殑 data 鏁扮粍缁撴瀯锛� */
@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