From f7ad3416dfc1558be842f3190688adc9a5a8933d Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期日, 18 一月 2026 14:51:23 +0800
Subject: [PATCH] 添加盘点,合托流程

---
 WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   96 +++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 74 insertions(+), 22 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
index 287f0e4..82a3f1a 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -41,6 +41,29 @@
         {
             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>
+        /// SMOM鐩樼偣浠诲姟
+        /// </summary>
+        /// <param name="keys"></param>
+        /// <returns></returns>
+        [HttpPost, Route("SMOMGenerateSTOutboundTask"), AllowAnonymous]
+        public WebResponseContent SMOMGenerateSTOutboundTask([FromBody] int[] keys)
+        {
+            return Service.SMOMGenerateSTOutboundTask(keys);
+        }
+
         /// <summary>
         /// WCS鐢宠鍏ュ簱浠诲姟
         /// </summary>
@@ -62,6 +85,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>
@@ -102,26 +143,6 @@
         public WebResponseContent OutboundTaskCompleted(int taskNum)
         {
             return Service.OutboundTaskCompleted(taskNum);
-        }
-        /// <summary>
-        /// WMS涓嬪彂鍑哄簱鍗曟嵁
-        /// </summary>
-        /// <param name="orderAddDTO"></param>
-        /// <returns></returns>
-        [HttpPost, Route("AddOutboundOrders"), AllowAnonymous]
-        public WebResponseContent AddOutboundOrders([FromBody] Houseounbound orderAddDTO)
-        {
-            return Service.AddOutboundOrders(orderAddDTO);
-        }
-        /// <summary>
-        /// 鐩樼偣浠诲姟涓婁紶
-        /// </summary>
-        /// <param name="houseInventoryOut"></param>
-        /// <returns></returns>
-        [HttpPost, Route("InventoryOut"), AllowAnonymous]
-        public WebResponseContent InventoryOut([FromBody] HouseCancelOut houseInventoryOut)
-        {
-            return Service.InventoryOut(houseInventoryOut);
         }
         /// <summary>
         /// 鐩樼偣浠诲姟鍥炰紶WMS
@@ -177,9 +198,9 @@
         }
 
         [HttpPost, Route("FeedBackInboundERP"), AllowAnonymous]
-        public WebResponseContent FeedBackInboundERP(string upperOrderNo,string linId)
+        public WebResponseContent FeedBackInboundERP(string upperOrderNo, string linId)
         {
-            return Service.FeedBackInboundERP(upperOrderNo , linId);
+            return Service.FeedBackInboundERP(upperOrderNo, linId);
         }
 
         /// <summary>
@@ -202,5 +223,36 @@
         {
             return Service.TakeOutbound(stockViews);
         }
+
+        /// <summary>
+        /// SMOM涓嬪彂鍑哄簱鍗曟嵁
+        /// </summary>
+        /// <param name="orderAddDTO"></param>
+        /// <returns></returns>
+        [HttpPost, Route("AddOutboundOrders"), AllowAnonymous]
+        public WebResponseContent AddOutboundOrders([FromBody] Houseounbound orderAddDTO)
+        {
+            return Service.AddOutboundOrders(orderAddDTO);
+        }
+        /// <summary>
+        /// SMOM鐩樼偣浠诲姟涓婁紶
+        /// </summary>
+        /// <param name="houseInventoryOut"></param>
+        /// <returns></returns>
+        [HttpPost, Route("InventoryOut"), AllowAnonymous]
+        public WebResponseContent InventoryOut([FromBody] HouseCancelOut houseInventoryOut)
+        {
+            return Service.InventoryOut(houseInventoryOut);
+        }
+
+        /// <summary>
+        /// SMOM鐩樼偣鍚庡簱瀛樿皟鏁�
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, Route("SMOMAdjustment"), AllowAnonymous]
+        public WebResponseContent SMOMAdjustment([FromBody] HouseAdjustment houseAdjustment)
+        {
+            return Service.SMOMAdjustment(houseAdjustment);
+        }
     }
 }

--
Gitblit v1.9.3