From c6e53b0983e6864d3d28d01894a2053305c2e3fb Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期四, 15 一月 2026 17:27:11 +0800
Subject: [PATCH] 1

---
 WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
index f8a5b11..f8c3ced 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -41,6 +41,19 @@
         {
             return Service.WMSGenerateOutboundTask(keys);
         }
+
+        [HttpPost, Route("WMSGenerateNewOutboundTask"), AllowAnonymous]
+        public WebResponseContent WMSGenerateNewOutboundTask([FromBody] int[] keys)
+        {
+            return Service.WMSGenerateNewOutboundTask(keys);
+        }
+
+        [HttpPost, Route("WMSGenerateSTOutboundTask"), AllowAnonymous]
+        public WebResponseContent WMSGenerateSTOutboundTask([FromBody] int[] keys)
+        {
+            return Service.WMSGenerateSTOutboundTask(keys);
+        }
+
         /// <summary>
         /// WCS鐢宠鍏ュ簱浠诲姟
         /// </summary>
@@ -62,6 +75,24 @@
         {
             return Service.DeviceRequestInboundTaskSimple(stationCode, palletCode, heightType);
         }
+
+        [HttpPost, HttpGet, Route("CPDeviceRequestInboundTaskSimple"), AllowAnonymous]
+        public WebResponseContent CPDeviceRequestInboundTaskSimple(string stationCode, string palletCode, int heightType, string courceAddress)
+        {
+            return Service.CPDeviceRequestInboundTaskSimple(stationCode, palletCode, heightType, courceAddress);
+        }
+
+        /// <summary>
+        /// 鐢宠宸烽亾
+        /// </summary>
+        /// <param name="palletCode"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("ApplyLocation"), AllowAnonymous]
+        public WebResponseContent ApplyLocation(string palletCode)
+        {
+            return Service.ApplyLocation(palletCode);
+        }
+
         /// <summary>
         /// 鍒ゆ柇宸烽亾鍐呯Щ搴�
         /// </summary>
@@ -175,5 +206,32 @@
         {
             return Service.UpdateTaskInfo(task);
         }
+
+        [HttpPost, Route("FeedBackInboundERP"), AllowAnonymous]
+        public WebResponseContent FeedBackInboundERP(string upperOrderNo, string linId)
+        {
+            return Service.FeedBackInboundERP(upperOrderNo, linId);
+        }
+
+        /// <summary>
+        /// 鍗曟嵁鏄庣粏鍑哄簱瀹屾垚鍥炶皟erp
+        /// </summary>
+        /// <param name="orderNO"></param>
+        /// <param name="linId"></param>
+        /// <returns></returns>
+        [HttpPost, Route("FeedBackOutERP"), AllowAnonymous]
+        public WebResponseContent FeedBackOutERP(string orderNO, string linId)
+        {
+            return Service.FeedBackOutERP(orderNO, linId);
+        }
+
+        /// <summary>
+        /// 閫夊畾搴撳瓨鐢熸垚鐩樼偣鍗曞嚭搴�
+        /// </summary>
+        [HttpPost, Route("TakeOutbound"), AllowAnonymous]
+        public WebResponseContent TakeOutbound([FromBody] List<StockViewDTO> stockViews)
+        {
+            return Service.TakeOutbound(stockViews);
+        }
     }
 }

--
Gitblit v1.9.3