From be438dd071400936c44a1425ec8d886f63c83329 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期五, 11 七月 2025 14:33:08 +0800
Subject: [PATCH] 1

---
 WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
index 395d357..305fbea 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -39,10 +39,10 @@
         /// </summary>
         /// <param name="taskNum"></param>
         /// <returns></returns>
-        [HttpPost, Route("InboundRequest"),AllowAnonymous]
-        public WebResponseContent InboundRequest([FromBody] SaveModel saveModel)
+        [HttpPost, Route("InboundRequest"), AllowAnonymous]
+        public WebResponseContent InboundRequest(string stationCode, string roadwayNo, string palletCode)
         {
-            return Service.InboundRequest(saveModel);
+            return Service.InboundRequest(stationCode, roadwayNo, palletCode);
         }
         /// <summary>
         /// 鍒ゆ柇宸烽亾鍐呯Щ搴�
@@ -112,11 +112,15 @@
         /// <param name="qty"></param>
         /// <returns></returns>
         [HttpPost, Route("InventoryIn"), AllowAnonymous]
-        public WebResponseContent InventoryIn([FromBody] string name,int qty)
+        public WebResponseContent InventoryIn([FromBody] string name, int qty)
         {
-            return Service.InventoryIn(name,qty);
+            return Service.InventoryIn(name, qty);
         }
-        
 
+        [HttpPost,Route("UpdateTaskStatus") ,AllowAnonymous]
+        public WebResponseContent UpdateTaskStatus(int tasknum, int tasktype)
+        {
+            return Service.UpdateTaskStatus(tasknum, tasktype);
+        }
     }
 }

--
Gitblit v1.9.3