From 733c975cd8647f6d006736f1863bad731e32e6fb Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期日, 26 十月 2025 17:15:52 +0800
Subject: [PATCH] 上传最新代码,ERP接口,MES接口优化,WMS业务优化等

---
 项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
index c4bf576..74b7a5a 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
@@ -4,6 +4,7 @@
 using WIDESEA_Common.CommonEnum;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
+using WIDESEA_DTO.Outbound;
 using WIDESEA_DTO.Stock;
 using WIDESEA_DTO.Task;
 using WIDESEA_ITaskInfoService;
@@ -44,6 +45,17 @@
         public WebResponseContent AssignInboundTaskLocation(int taskNum, string roadwayNo)
         {
             return Service.AssignInboundTaskLocation(taskNum, roadwayNo);
+        }
+
+        /// <summary>
+        /// 鍚慦MS鐢宠鍑哄簱AGV缁堢偣
+        /// </summary>
+        /// <param name="taskNum">浠诲姟鍙�</param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("AssignOutTargetAddress"), AllowAnonymous]
+        public WebResponseContent AssignOutTargetAddress(int taskNum)
+        {
+            return Service.AssignOutTargetAddress(taskNum);
         }
 
         /// <summary>
@@ -142,16 +154,15 @@
         /// <param name="palletCode">鏉$爜</param>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("YLPurchaseBoxing"), AllowAnonymous]
-        public WebResponseContent YLPurchaseBoxing(string palletCode)
+        public WebResponseContent YLPurchaseBoxing(string palletCode,decimal weight=0,decimal thickness = 0, decimal wide = 0)
         {
-            return Service.YLPurchaseBoxing(palletCode);
+            return Service.YLPurchaseBoxing(palletCode,weight,thickness,wide);
         }
 
         /// <summary>
         /// 鍘熸枡閲囪喘缁戝畾RFID
         /// </summary>
         /// <param name="palletCode">绾稿嵎鏉$爜</param>
-        /// <param name="rfidCode">绾稿嵎RIFD</param>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("PurchaseBoxing"), AllowAnonymous]
         public WebResponseContent PurchaseBoxing(string palletCode)
@@ -207,13 +218,11 @@
         /// <summary>
         /// 鍘熸枡鍑哄簱浠诲姟
         /// </summary>
-        /// <param name="materielCode">鐗╂枡浠g爜</param>
-        /// <param name="materielWide">鐗╂枡骞呭</param>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("RequestYLWMSTaskOut"), AllowAnonymous]
-        public WebResponseContent RequestYLWMSTaskOut(string materielCode,int materielWide, int count,string address="")
+        public WebResponseContent RequestYLWMSTaskOut([FromBody] YLWMSTaskOutDTO yLWMSTaskOutDTO)
         {
-            return Service.RequestYLWMSTaskOut(materielCode, materielWide, count, address);
+            return Service.RequestYLWMSTaskOut(yLWMSTaskOutDTO);
         }
 
         /// <summary>

--
Gitblit v1.9.3