From 5ac33ef565ff0730aede7f39a0459d53c214cc18 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期三, 29 四月 2026 14:07:11 +0800
Subject: [PATCH] docs: 添加 OutboundTaskFlowService TODO 实现计划

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs
index 7515054..5b2143f 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs
@@ -1,6 +1,7 @@
 锘縰sing Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
+using System.Threading.Channels;
 using WIDESEAWCS_Core;
 using WIDESEAWCS_Core.BaseController;
 using WIDESEAWCS_DTO.TaskInfo;
@@ -25,6 +26,12 @@
             return Service.ReceiveWMSTask(taskDTOs);
         }
 
+        [HttpPost, Route("ReceiveManualTask"), AllowAnonymous]
+        public WebResponseContent ReceiveManualTask([FromBody] List<WMSTaskDTO> taskDTOs)
+        {
+            return Service.ReceiveManualTask(taskDTOs);
+        }
+
         [HttpPost, HttpGet(), Route("UpdateTaskExceptionMessage")]
         public WebResponseContent UpdateTaskExceptionMessage(int taskNum, string message)
         {
@@ -47,6 +54,17 @@
         public WebResponseContent RollbackTaskStatusToLast(int taskNum)
         {
             return Service.RollbackTaskStatusToLast(taskNum);
+        }
+
+        /// <summary>
+        /// 浠诲姟鍙栨秷
+        /// </summary>
+        /// <param name="taskNum"></param>
+        /// <returns></returns>
+        [HttpPost, Route("CancelTask"), AllowAnonymous]
+        public WebResponseContent CancelTask(int taskNum)
+        {
+            return Service.CancelTask(taskNum);
         }
     }
 }

--
Gitblit v1.9.3