From 954480166aad6d24c9e9889906a0edf762f0da2a Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期一, 10 二月 2025 16:32:56 +0800
Subject: [PATCH] 优化库存同步

---
 src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1115PR.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1115PR.java b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1115PR.java
index 45d1946..4dfd34d 100644
--- a/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1115PR.java
+++ b/src/main/java/com/fzzy/otherview/whhpjl/pr/WhjlApi1115PR.java
@@ -163,7 +163,7 @@
         }
 
         //灏佽鍙傛暟
-        ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1115);
+        ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_11, WhjlConstant.API_CODE_1115);
 
         //鑾峰彇瀹炵幇鎺ュ彛
         ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol());
@@ -174,7 +174,7 @@
         ResponseDto responseDto;
         ApiInfoData infoData;
         for (WhjlApi1115 data : items) {
-            responseDto = apiService.pushData(param, apiConf, items);
+            responseDto = apiService.pushData(param, apiConf, data);
             if (responseDto.getSuccess() == 0) {
                 if (Constant.CZBZ_I.equals(data.getCzbz())) {
                     infoData = new ApiInfoData();

--
Gitblit v1.9.3