From a0a0df2e824b6fe7e5a3c0afce78127fecf84fc9 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期一, 03 十一月 2025 08:23:05 +0800
Subject: [PATCH] ERP接口代码更新,WCS代码优化,出入库分配优化

---
 项目代码/WMS/WMSServices/WIDESEA_External/ERPService/InvokeERPService.cs |   30 ++++++++++++++++++++++++++----
 1 files changed, 26 insertions(+), 4 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_External/ERPService/InvokeERPService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_External/ERPService/InvokeERPService.cs"
index 5a5b191..422137e 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_External/ERPService/InvokeERPService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_External/ERPService/InvokeERPService.cs"
@@ -59,9 +59,8 @@
             return response;
         }
         /// <summary>
-        /// 鎺ㄩ�佸師绾搁噰璐叆搴�
+        /// ERP涓婁紶閲囪喘淇℃伅
         /// </summary>
-        /// <param name="eRPPurchaseUpModel"></param>
         /// <returns></returns>
         public string ERPPurchaseUp(ERPPurchaseUpModel eRPPurchaseUpModel)
         {
@@ -72,9 +71,8 @@
             return response;
         }
         /// <summary>
-        /// 鎺ㄩ�佹垚鍝侀攢鍞嚭搴�
+        /// ERP鎴愬搧閿�鍞嚭搴撲笂浼犱俊鎭�
         /// </summary>
-        /// <param name="eRPProOutUpModel"></param>
         /// <returns></returns>
         public string ERPProOutUp(ERPProOutUpModel eRPProOutUpModel)
         {
@@ -84,5 +82,29 @@
 
             return response;
         }
+        /// <summary>
+        /// ERP涓婁紶鎴愬搧鍏ュ簱淇℃伅
+        /// </summary>
+        /// <returns></returns>
+        public string ERPProInUp(ERPProInUpModel eRPProInUpModel)
+        {
+            Dt_ApiInfo apiInfo = _apiInfoRepository.QueryFirst(x => x.ApiCode == APIEnum.ERPProInUp.ToString() && x.Enable == WhetherEnum.True.ObjToInt());
+
+            string response = HttpHelper.Post(apiInfo.ApiAddress, eRPProInUpModel.Serialize().ToUpper());
+
+            return response;
+        }
+        /// <summary>
+        /// ERP涓婁紶鍗婃垚鍝佸叆搴撲俊鎭�
+        /// </summary>
+        /// <returns></returns>
+        public string ERPSemiProInUp(ERPProInUpModel eRPProInUpModel)
+        {
+            Dt_ApiInfo apiInfo = _apiInfoRepository.QueryFirst(x => x.ApiCode == APIEnum.ERPSemiProInUp.ToString() && x.Enable == WhetherEnum.True.ObjToInt());
+
+            string response = HttpHelper.Post(apiInfo.ApiAddress, eRPProInUpModel.Serialize().ToUpper());
+
+            return response;
+        }
     }
 }

--
Gitblit v1.9.3