From edb23a1c8d21b5431631e511e64a25e4517b0894 Mon Sep 17 00:00:00 2001
From: 刘磊 <1161824510@qq.com>
Date: 星期三, 04 十二月 2024 14:13:12 +0800
Subject: [PATCH] 分容火警出库,分容空框出库

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs |   46 +++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 45 insertions(+), 1 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 58cf6b7..067b924 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>
@@ -46,7 +57,7 @@
     }
 
     /// <summary>
-    /// 浠诲姟璇锋眰
+    /// 璇锋眰浠诲姟宸烽亾
     /// </summary>
     /// <param name="input">璇锋眰鏁版嵁</param>
     /// <returns></returns>
@@ -54,6 +65,28 @@
     public async Task<WebResponseContent> RequestTaskAsync([FromBody] RequestTaskDto input)
     {
         return await Service.RequestTaskAsync(input);
+    }
+
+    /// <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>
+    /// <returns></returns>
+    [HttpPost, AllowAnonymous, Route("RequestLocationTaskAsync")]
+    public async Task<WebResponseContent> UpdateExistingTask([FromBody] RequestTaskDto input)
+    {
+        return await Service.UpdateExistingTask(input);
     }
 
     /// <summary>
@@ -88,4 +121,15 @@
     {
         return await Service.UpdateTaskStatus(input.TaskNum, input.TaskState);
     }
+
+    /// <summary>
+    /// 鑾峰彇楂樻俯鍙嚭搴撳簱瀛�
+    /// </summary>
+    /// <param name="input">璇锋眰鏁版嵁</param>
+    /// <returns></returns>
+    [HttpGet, AllowAnonymous, Route("StockCheckingAsync")]
+    public WebResponseContent StockCheckingAsync()
+    {
+        return Service.StockCheckingAsync();
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3