From b513ce3a4527e998da66c6f179a279472c7262a8 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 18 十一月 2025 10:59:46 +0800
Subject: [PATCH] 代码更新优化

---
 项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs"
index 3b3049d..9a53c52 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs"
@@ -20,7 +20,6 @@
 using WIDESEA_ITaskInfoService;
 using WIDESEA_Model.Models;
 using WIDESEA_OutboundService;
-using static WIDESEA_DTO.ErpResponseContent;
 
 namespace WIDESEA_WMSServer.Controllers.ERP
 {
@@ -54,7 +53,6 @@
         /// </summary>
         /// <returns></returns>
         [HttpPost,HttpGet,Route("ReceiveMaterial"),AllowAnonymous]
-        
         public WebResponseContent AddMaterial([FromBody]List<BSTMaterialDTO> bSTMaterialDTOs)
         {
             return _basicService.MaterielInfoService.AddMaterial(bSTMaterialDTOs);
@@ -65,7 +63,6 @@
         /// </summary>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("ReceiveSupplier"), AllowAnonymous]
-
         public WebResponseContent AddSupplier([FromBody] List<BSTSupplierDTO> bSTSupplierDTOs)
         {
             return _basicService.SupplierInfoService.AddSupplier(bSTSupplierDTOs);
@@ -80,34 +77,26 @@
         {
             return _purchaseBSTOrderService.AddPurchaseBSTOrder(bSTPurchaseOrderDTOs);
         }
-
-        ///// <summary>
-        ///// 鎺ユ敹鍑哄簱鎺掔▼淇℃伅
-        ///// </summary>
-        ///// <returns></returns>
-        //[HttpPost, HttpGet, Route("ReceiveOutOrder"), AllowAnonymous]
-        //public WebResponseContent AddOutBSTOrder([FromBody] List<BSTOutOrderDTO> bSTOutOrderDTOs)
-        //{
-        //    return _outBSTOrderService.AddOutBSTOrder(bSTOutOrderDTOs);
-        //}
         /// <summary>
         /// 鎺ユ敹涓�鏈熺敓绠℃帓绋嬩俊鎭�
         /// </summary>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("ReceiveOutOrder"), AllowAnonymous]
-        public WebResponseContent AddOutBSTOrder([FromBody] List<SGOutOrderDTO> outOrderDTOs)
+        public WebResponseContent AddOutSGOrder([FromBody] List<SGOutOrderDTO> outOrderDTOs)
         {
             return _taskService.AddOutSGOrder(outOrderDTOs);
         }
+
         /// <summary>
         /// 鎺ユ敹鍗氭�濋�氶鏂欎俊鎭�
         /// </summary>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("ReceivePicking"), AllowAnonymous]
-        public WebResponseContent ReceivePicking()
+        public WebResponseContent ReceivePicking([FromBody] List<BSTPickInfoDTO> bSTPickInfoDTOs)
         {
-            return WebResponseContent.Instance.Error("鏈壘鍒板搴斿簱瀛樹俊鎭�") ;
+            return _taskService.ReceivePicking(bSTPickInfoDTOs);
         }
+
         /// <summary>
         /// 鎺ユ敹鍗氭�濋�氶��鏂欎俊鎭�
         /// </summary>
@@ -117,6 +106,7 @@
         {
             return _returnBSTOrderService.ReceiveReturnOrder(bSTReturnOrderDTOs);
         }
+
         /// <summary>
         /// 鎺ユ敹鍗氭�濋�氱洏鐐逛俊鎭�
         /// </summary>
@@ -124,7 +114,17 @@
         [HttpPost, HttpGet, Route("ReceiveStockCheckOrder"), AllowAnonymous]
         public WebResponseContent ReceiveStockCheckOrder([FromBody] List<BSTOutOrderDTO> bSTOutOrderDTOs)
         {
-            return _outBSTOrderService.AddOutBSTOrder(bSTOutOrderDTOs);
+            return WebResponseContent.Instance.Error("鏈壘鍒板簱瀛�") ;
+        }
+
+        /// <summary>
+        /// 璋冪敤鍗氭�濋�欵RP搴撳瓨
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("BSTStockAsync"), AllowAnonymous]
+        public string  BSTStockAsync(string barCode)
+        {
+            return _invokeERPService.BSTStockAsync(barCode);
         }
     }
 }

--
Gitblit v1.9.3