From c020f31a67fc5aa5644511bddff075f7ecc85234 Mon Sep 17 00:00:00 2001
From: qinchulong <qinchulong@hnkhzn.com>
Date: 星期二, 27 五月 2025 15:35:27 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/HuaYiZhongHeng/ZhongHeLiTiKu

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetailController.cs |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetailController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetailController.cs"
new file mode 100644
index 0000000..6ecea6d
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetailController.cs"
@@ -0,0 +1,43 @@
+锘縰sing Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using WIDESEA_Core;
+using WIDESEA_Core.BaseController;
+using WIDESEA_DTO.Stock;
+using WIDESEA_IOutboundService;
+using WIDESEA_Model.Models;
+
+namespace WIDESEA_WMSServer.Controllers.Outbound
+{
+    [Route("api/OutboundOrderDetail")]
+    [ApiController]
+    public class OutboundOrderDetailController : ApiBaseController<IOutboundOrderDetailService, Dt_OutboundOrderDetail>
+    {
+        public OutboundOrderDetailController(IOutboundOrderDetailService service) : base(service)
+        {
+        }
+
+        [HttpPost, Route("AutoLockOutboundStock")]
+        public WebResponseContent LockOutboundStock(int orderDetailId)
+        {
+            return Service.LockOutboundStock(orderDetailId);
+        }
+
+        [HttpPost, Route("LockOutboundStock")]
+        public WebResponseContent LockOutboundStock( int id, [FromBody] List<StockSelectViewDTO> stockSelectViews)
+        {
+            return Service.LockOutboundStock(id, stockSelectViews);
+        }
+
+        [HttpPost, Route("LockOutboundStocks")]
+        public WebResponseContent LockOutboundStocks([FromBody] int[] keys)
+        {
+            return Service.LockOutboundStock(keys);
+        }
+
+        [HttpPost, Route("RevokeLockOutboundStock")]
+        public WebResponseContent RevokeLockOutboundStock(int id)
+        {
+            return Service.RevokeLockOutboundStock(id);
+        }
+    }
+}

--
Gitblit v1.9.3