From 3ecd03b3a0a30a57153468beaed3199bfe906772 Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期一, 11 十一月 2024 16:58:37 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   11 +++++++----
 1 files changed, 7 insertions(+), 4 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 23c9218..2845e7f 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"
@@ -6,6 +6,7 @@
 using WIDESEA_DTO.Stock;
 using WIDESEA_ITaskInfoService;
 using WIDESEA_Model.Models;
+using static WIDESEA_ITaskInfoService.ITaskService;
 
 namespace WIDESEA_WMSServer.Controllers.TaskInfo
 {
@@ -57,10 +58,10 @@
             return Service.IsRelocations(TaskNum, SourceAddress);
         }
 
-        [HttpGet, Route("GenerateInventoryInformation"), AllowAnonymous]
-        public WebResponseContent GenerateInventoryInformation(string SourceAddress, string PalletCode)
+        [HttpPost, Route("GenerateInventoryInformation"), AllowAnonymous]
+        public WebResponseContent GenerateInventoryInformation([FromBody] GenerateInv generate)
         {
-            return Service.GenerateInventoryInformation(SourceAddress, PalletCode);
+            return Service.GenerateInventoryInformation(generate);
         }
 
         [HttpPost, Route("ManualOutbound"), AllowAnonymous]
@@ -69,7 +70,7 @@
             return Service.ManualOutbound(saveModel);
         }
 
-        [HttpPost, Route("Empty_outbound"), AllowAnonymous]
+        [HttpGet, Route("Empty_outbound"), AllowAnonymous]
         public WebResponseContent Empty_outbound(string SourceAddress)
         {
             return Service.Empty_outbound(SourceAddress);
@@ -84,5 +85,7 @@
         {
             return Service.RelocationTaskCompleted(PalletCode, SourceAddress, TargetAddress);
         }
+
+        
     }
 }

--
Gitblit v1.9.3