From 7202fced2a265369f83f1557d3db7525bb62d41b Mon Sep 17 00:00:00 2001
From: 肖洋 <cathay_xy@163.com>
Date: 星期一, 25 十一月 2024 16:21:30 +0800
Subject: [PATCH] 3

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
index c804cb4..686b224 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
@@ -35,6 +35,17 @@
     }
 
     /// <summary>
+    /// 浠诲姟瀹屾垚
+    /// </summary>
+    /// <param name="saveModel">浠诲姟鍙�</param>
+    /// <returns>鎴愬姛鎴栧け璐�</returns>
+    //[HttpGet, Route("CompleteTaskByStation"), AllowAnonymous]
+    //public async Task<WebResponseContent> CompleteTaskByStation(int taskNum)
+    //{
+    //    return await _taskService.CompleteTaskByStation(taskNum);
+    //}
+
+    /// <summary>
     /// 妫�鏌ユ槸鍚﹂渶瑕佽繘琛岀Щ搴�
     /// </summary>
     /// <param name="taskNum">浠诲姟鍙�</param>
@@ -57,6 +68,17 @@
     }
 
     /// <summary>
+    /// 璇锋眰浠诲姟宸烽亾
+    /// </summary>
+    /// <param name="input">璇锋眰鏁版嵁</param>
+    /// <returns></returns>
+    [HttpPost, AllowAnonymous, Route("RequestInTask")]
+    public async Task<WebResponseContent> RequestInTask([FromBody] RequestTaskDto input)
+    {
+        return await Service.RequestInTask(input);
+    }
+
+    /// <summary>
     /// 璇锋眰浠诲姟璐т綅
     /// </summary>
     /// <param name="input">璇锋眰鏁版嵁</param>

--
Gitblit v1.9.3