From 550ae4989da1ce9ca874a00aec7423d252b67a27 Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期二, 02 十二月 2025 08:25:21 +0800
Subject: [PATCH] 提交

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs |   50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 49 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs"
index 089a068..7759dcc 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs"
@@ -19,7 +19,55 @@
         public StockInfoController(IStockInfoService service) : base(service)
         {
         }
+        /// <summary>
+        /// 鏌ヨ璁㈠崟绔嬪簱搴撳瓨瑙嗗浘
+        /// </summary>
+        /// <param name="orderId"></param>
+        /// <param name="materielCode"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("GetStockSelectViews"), AllowAnonymous]
+        public List<StockSelectViewDTO> GetStockSelectViews(int orderId, string materielCode)
+        {
+            return Service.GetStockSelectViews(orderId, materielCode);
+        }
 
-        
+        /// <summary>
+        /// 鏌ヨ璁㈠崟绔嬪簱搴撳瓨瑙嗗浘
+        /// </summary>
+        /// <param name="orderId"></param>
+        /// <param name="materielCode"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("GetSelectViewDTOs"), AllowAnonymous]
+        public List<StockSelectViewDTO> GetSelectViewDTOs(string orderNo, string materielCode)
+        {
+            try
+            {
+                return Service.GetSelectViewDTOs(orderNo, materielCode);
+            }
+            catch (Exception ex)
+            {
+                return new List<StockSelectViewDTO>();
+            }
+        }
+
+        /// <summary>
+        /// /
+        /// </summary>
+        /// <param name="orderNo"></param>
+        /// <param name="materielCode"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("GetAllocateStockSelect"), AllowAnonymous]
+        public List<StockSelectViewDTO> GetAllocateSelectViewDTOs(int orderId, string materielCode)
+        {
+            try
+            {
+                return Service.GetAllocateSelectViewDTOs(orderId, materielCode);
+            }
+            catch (Exception ex)
+            {
+                return new List<StockSelectViewDTO>();
+            }
+        }
+
     }
 }

--
Gitblit v1.9.3