From 4532ca7e676b510c35855bfadf10106ba7bd12e8 Mon Sep 17 00:00:00 2001
From: cl <1442464845@qq.com>
Date: 星期二, 28 四月 2026 10:11:50 +0800
Subject: [PATCH] 云仓地址配置
---
rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/CloudWmsReportServiceImpl.java | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/CloudWmsReportServiceImpl.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/CloudWmsReportServiceImpl.java
index fbaa4ca..c9e3abf 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/CloudWmsReportServiceImpl.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/service/impl/CloudWmsReportServiceImpl.java
@@ -20,7 +20,7 @@
import java.util.Map;
/**
- * 绔嬪簱渚ц姹備簯浠擄細9.1 榧庢嵎 ilcwmsplus 鍏�/鍑哄簱涓ゆ帴鍙o紱9.2 浠嶄负 /api/report/inventoryAdjust锛屾姤鏂囦笌 9.1 鍚屼负 {data:[]}銆�
+ * 绔嬪簱渚ц姹備簯浠擄細ICusStockService 鍏ュ簱/鍑哄簱/璋冩嫧瀹屾垚鍙嶉锛�9.2 澧炲噺璋冩暣浠嶄负 /api/report/inventoryAdjust锛屾姤鏂囧悓涓� {data:[]}銆�
*/
@Slf4j
@Service
@@ -94,8 +94,12 @@
} else {
return resultMap(400, "涓嶆敮鎸佺殑 changeType锛�" + changeType, null);
}
- Map<String, Object> raw = cloudWmsErpFeignClient.reportInventoryAdjust(req);
- return DapIlcwmsResponseNormalizer.toNotifyFormatFlexible(raw);
+ Map<String, Object> raw = changeType == 3
+ ? cloudWmsErpFeignClient.stockTransferCompleted(req)
+ : cloudWmsErpFeignClient.reportInventoryAdjust(req);
+ return changeType == 3
+ ? DapIlcwmsResponseNormalizer.toNotifyFormat(raw)
+ : DapIlcwmsResponseNormalizer.toNotifyFormatFlexible(raw);
}
private DapIlcwmsCompletionLine buildInOutLine(InOutResultReportParam param, boolean inbound) {
--
Gitblit v1.9.1