From b5fe109b08ce6e1e78696bb7cf41f415dc6a4587 Mon Sep 17 00:00:00 2001
From: 肖洋 <cathay_xy@163.com>
Date: 星期四, 05 十二月 2024 13:33:35 +0800
Subject: [PATCH] 添加任务历史

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs |   12 +++++++++++-
 1 files changed, 11 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 cd5f8fd..067b924 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
@@ -28,7 +28,7 @@
     /// </summary>
     /// <param name="saveModel">浠诲姟鍙�</param>
     /// <returns>鎴愬姛鎴栧け璐�</returns>
-    [HttpGet, Route("CompleteTask"), AllowAnonymous]
+    [HttpGet, Route("CompleteTaskAsync"), AllowAnonymous]
     public async Task<WebResponseContent> CompleteTaskAsync(int taskNum)
     {
         return await _taskService.CompleteAsync(taskNum);
@@ -122,4 +122,14 @@
         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