From 25cb7cd50d12f48e93d6cde47420ca3458e9c47a Mon Sep 17 00:00:00 2001
From: helongyang <647556386@qq.com>
Date: 星期四, 12 六月 2025 21:39:43 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs"
index 6702606..e67acf6 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/ERP/ErpController.cs"
@@ -183,9 +183,11 @@
         /// 閿�鍞寚娲惧崟鎺ユ敹
         /// </summary>
         [HttpPost, Route("ProductSpecifyVer"), AllowAnonymous, MethodParamsValidate]
-        public ErpResponseContent ProductSpecifyVer([FromBody] Root<ErpProductSpecifyVerDTO> root)
+        public async Task<ErpResponseContent> ProductSpecifyVerAsync([FromBody] Root<ErpProductSpecifyVerDTO> root)
         {
-            return Instance.OK();
+            var content = await _outboundService.ProOutOrderService.ProductSpecifyVer(root.Content);
+            if (content.Status) return Instance.OK();
+            else return Instance.Error(content.Message);
         }
         /// <summary>
         /// 鎺ユ敹ERP閫�鏂欏崟淇℃伅
@@ -325,5 +327,14 @@
         {
             return _invokeERPService.InvokeOutProErpSync(outProOrderNo);
         }
+        /// <summary>
+        /// ERP鎴愬搧鍏ュ簱浜у搧鍨嬪彿闈㈢Н鏌ヨ
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, Route("InvokeProInErpStatic"), AllowAnonymous]
+        public string InvokeProInErpStatic(string partNum, string partNumWithRev)
+        {
+            return _invokeERPService.InvokeProInErpStatic(partNum, partNumWithRev);
+        }
     }
 }

--
Gitblit v1.9.3