From c193b9d9982de84979207998ba344b41ef36f6bd Mon Sep 17 00:00:00 2001
From: helongyang <647556386@qq.com>
Date: 星期一, 30 六月 2025 19:47:16 +0800
Subject: [PATCH] 阻焊出库优化

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs |   31 ++++++++++++++++++++++++++++++-
 1 files changed, 30 insertions(+), 1 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs"
index 22a25d5..f5c9e72 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs"
@@ -1,4 +1,5 @@
-锘縰sing Microsoft.AspNetCore.Http;
+锘縰sing Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
@@ -7,6 +8,9 @@
 
 namespace WIDESEA_WMSServer.Controllers.Outbound
 {
+    /// <summary>
+    /// 鍑哄簱璇︽儏
+    /// </summary>
     [Route("api/OutStockLockInfo")]
     [ApiController]
     public class OutStockLockInfoController : ApiBaseController<IOutStockLockInfoService, Dt_OutStockLockInfo>
@@ -25,5 +29,30 @@
         {
             return Service.GetStockOutboundOrder(saveModel);
         }
+        /// <summary>
+        /// 鎷i�夊畬鎴�
+        /// </summary>
+        /// <param name="palletCode"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("MaterialPick")]
+        public WebResponseContent MaterialPick(string palletCode)
+        {
+            return Service.MaterialPick(palletCode);
+        }
+        [HttpPost, HttpGet, Route("GetByOrderDetailId"), AllowAnonymous]
+        public List<Dt_OutStockLockInfo> GetByOrderDetailId(int orderDetailId)
+        {
+            return Service.GetByOrderDetailId(orderDetailId, null);
+        }
+        /// <summary>
+        /// 鑾峰彇Mes鍑哄簱璇︽儏
+        /// </summary>
+        /// <param name="taskNo">Mes浠诲姟鍗曞彿</param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("GetByMesOrderDetail"), AllowAnonymous]
+        public List<Dt_OutStockLockInfo> GetByMesOrderDetail(string taskNo)
+        {
+            return Service.GetByMesOrderDetail(taskNo);
+        }
     }
 }

--
Gitblit v1.9.3