From b489f865bab00bedfce5e8f772095600b8034ac0 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 23 九月 2025 03:03:20 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   48 ++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 46 insertions(+), 2 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
index f828daa..7ec2844 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
@@ -4,6 +4,7 @@
 using WIDESEA_Common.CommonEnum;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
+using WIDESEA_DTO.Basic;
 using WIDESEA_DTO.Stock;
 using WIDESEA_DTO.Task;
 using WIDESEA_ITaskInfoService;
@@ -42,7 +43,14 @@
         {
             return Service.RequestInboundTask(saveModel);
         }
-        
+        /// <summary>
+        /// 鏌ヨ璐ㄦ鏁伴噺
+        /// </summary>
+        [HttpPost, HttpGet, Route("InQualityConfirm"), AllowAnonymous]
+        public WebResponseContent InQualityConfirm(string palletCode)
+        {
+            return Service.InQualityConfirm(palletCode);
+        }
         /// <summary>
         /// 绌虹鍏ュ簱
         /// </summary>
@@ -183,7 +191,6 @@
         /// <summary>
         /// 鐢熸垚鎴愬搧鍑哄簱浠诲姟
         /// </summary>
-        /// <param name="ProOutNo">鍑哄簱璁㈠崟鍙�</param>
         /// <param name="StationCode">绔欏彴鍦板潃</param>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("OutProductTask"), AllowAnonymous]
@@ -221,6 +228,15 @@
         {
             return await Service.OutProductTask(keys, StationCode, Grade);
         }
+
+        /// <summary>
+        /// 鐢熸垚鎴愬搧鎶ュ簾浠诲姟
+        /// </summary>
+        [HttpPost, HttpGet, Route("OutProScrapTask"), AllowAnonymous]
+        public async Task<WebResponseContent> OutProScrapTask([FromBody] int[] keys, string StationCode, int Grade)
+        {
+            return await Service.OutProScrapTask(keys, StationCode, Grade);
+        }
         ///// <summary>
         ///// 鐢熸垚MESPP浠撳ぇ鍗峰嚭搴撲换鍔�
         ///// </summary>
@@ -252,6 +268,16 @@
         public WebResponseContent IsRelocation(int taskNum, string locationCode)
         {
             return Service.IsRelocation(taskNum, locationCode);
+        }
+
+        /// <summary>
+        /// 鎵嬪姩绉诲簱
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("ManualRelocation"), AllowAnonymous]
+        public WebResponseContent ManualRelocation([FromBody] RelocationDTO relocationDTO)
+        {
+            return Service.ManualRelocation(relocationDTO);
         }
 
         /// <summary>
@@ -385,5 +411,23 @@
         {
             return Service.GetZHMesMaterialLot(materialLot);
         }
+        /// <summary>
+        /// 閫夊畾搴撳瓨鐢熸垚鐩樼偣鍗曞嚭搴�
+        /// </summary>
+        [HttpPost, Route("TakeOutbound"), AllowAnonymous]
+        public WebResponseContent TakeOutbound([FromBody] List<StockViewDTO> stockViews)
+        {
+            return Service.TakeOutbound(stockViews);
+        }
+        /// <summary>
+        /// 浠诲姟鍙栨秷
+        /// </summary>
+        /// <param name="taskNum">浠诲姟鍙�</param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("TaskHandCancel"), AllowAnonymous]
+        public async Task<WebResponseContent> TaskHandCancel(int taskNum)
+        {
+            return await Service.TaskHandCancel(taskNum);
+        }
     }
 }

--
Gitblit v1.9.3