From 063fc95895b19118df5c58723358671d7445ccdd Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期五, 10 一月 2025 18:56:13 +0800
Subject: [PATCH] 优化辅料出库

---
 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs |   27 ++++++++++++++++++++++-----
 1 files changed, 22 insertions(+), 5 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
index fc5ab5c..9ed8a34 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs"
@@ -25,17 +25,23 @@
             return Service.ReceiveWMSTask(taskDTOs);
         }
 
+        [HttpPost, HttpGet, Route("RequestAssignLocation"), AllowAnonymous]
+        public string? RequestAssignLocation(int taskNum, string roadwayNo)
+        {
+            return Service.RequestAssignLocation(taskNum, roadwayNo);
+        }
+
         [HttpPost, HttpGet, Route("UpdateTaskExceptionMessage")]
         public WebResponseContent UpdateTaskExceptionMessage(int taskNum, string message)
         {
             return Service.UpdateTaskExceptionMessage(taskNum, message);
         }
 
-        [HttpPost, HttpGet, Route("UpdateTaskStatusToNext")]
-        public WebResponseContent UpdateTaskStatusToNext(int taskNum)
-        {
-            return Service.UpdateTaskStatusToNext(taskNum);
-        }
+        //[HttpPost, HttpGet, Route("UpdateTaskStatusToNext")]
+        //public WebResponseContent UpdateTaskStatusToNext(int taskNum)
+        //{
+        //    return Service.UpdateTaskStatusToNext(taskNum);
+        //}
 
         [HttpPost, HttpGet, Route("TaskStatusRecovery")]
         public WebResponseContent TaskStatusRecovery(int taskNum)
@@ -48,5 +54,16 @@
         {
             return Service.RollbackTaskStatusToLast(taskNum);
         }
+
+        /// <summary>
+        /// 鍥炲AGV瀹夊叏淇″彿
+        /// </summary>
+        /// <param name="taskNum"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("SendSecureReplyToAgv")]
+        public WebResponseContent SendSecureReplyToAgv(int taskNum)
+        {
+            return Service.SendSecureReplyToAgv(taskNum);
+        }
     }
 }

--
Gitblit v1.9.3