From 9ec715d2deb18a269dd49c48da91a36632d08c81 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期三, 18 六月 2025 00:56:26 +0800
Subject: [PATCH] 最新代码上传,优化功能等

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
index 8bb450b..f828daa 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
@@ -75,9 +75,9 @@
         /// <param name="palletCode"></param>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("DeviceRequestInboundTask"), AllowAnonymous]
-        public WebResponseContent DeviceRequestInboundTask(string stationCode, string roadwayNo, string palletCode)
+        public WebResponseContent DeviceRequestInboundTask(string stationCode, string roadwayNo, string palletCode,string materielBoxCode = "")
         {
-            return Service.DeviceRequestInboundTask(stationCode, roadwayNo, palletCode);
+            return Service.DeviceRequestInboundTask(stationCode, roadwayNo, palletCode, materielBoxCode);
         }
 
         /// <summary>
@@ -130,7 +130,11 @@
         {
             return Service.AssignInboundTaskLocationByHeight(taskNum, roadwayNo, heightType);
         }
-
+        [HttpPost, HttpGet, Route("RequestZHInboundTask"), AllowAnonymous]
+        public WebResponseContent RequestZHInboundTask(string agvTaskCode, string palletCode, string palletType, string materialLot)
+        {
+            return Service.RequestZHInboundTask(agvTaskCode,palletCode,palletType,materialLot);
+        }
         /// <summary>
         /// 鍏ュ簱浠诲姟瀹屾垚
         /// </summary>
@@ -260,7 +264,6 @@
         {
             return await Service.TaskCompleted(taskNum);
         }
-
         /// <summary>
         /// 鍗曚釜浠诲姟鎺ㄩ�佽嚦WCS
         /// </summary>
@@ -268,9 +271,9 @@
         /// <param name="agvDescription"></param>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("PushTasksToWCSSingle"), AllowAnonymous]
-        public WebResponseContent PushTasksToWCSSingle(int taskNum, string agvDescription = "")
+        public WebResponseContent PushTasksToWCSSingle(int taskNum, string agvDescription = "", string agvtaskNum = "")
         {
-            return Service.PushTasksToWCSSingle(taskNum, agvDescription);
+            return Service.PushTasksToWCSSingle(taskNum, agvDescription, agvtaskNum);
         }
         /// <summary>
         /// 閫夋嫨搴撳瓨鐢熸垚鍑哄簱浠诲姟
@@ -374,5 +377,13 @@
         {
             return Service.OutProductSelect(orderDetailId, proStockViews);
         }
+        /// <summary>
+        /// 闃荤剨鎵规鐗╂枡鏌ヨ
+        /// </summary>
+        [HttpPost, Route("GetZHMesMaterialLot"), AllowAnonymous]
+        public WebResponseContent GetZHMesMaterialLot(string materialLot)
+        {
+            return Service.GetZHMesMaterialLot(materialLot);
+        }
     }
 }

--
Gitblit v1.9.3