From 6966c63c04c57ddec44e2e0c00c544a09737097b Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期一, 27 十月 2025 17:17:31 +0800
Subject: [PATCH] 优化PDA入库功能

---
 新建文件夹/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/SupplyTaskHtyController.cs |   27 ++++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/SupplyTaskHtyController.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/SupplyTaskHtyController.cs"
index ddf61a5..e70fbfb 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/SupplyTaskHtyController.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/SupplyTaskHtyController.cs"
@@ -1,5 +1,7 @@
-锘縰sing Microsoft.AspNetCore.Http;
+锘縰sing Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
+using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
 using WIDESEA_IWMsInfoServices;
 using WIDESEA_Model.Models;
@@ -13,5 +15,28 @@
         public SupplyTaskHtyController(ISupplyTaskHtyService service) : base(service)
         {
         }
+        [HttpPost, HttpGet, Route("GetInOutTasks"), AllowAnonymous]
+        public object GetInOutTasks()
+        {
+            WebResponseContent content = Service.GetInOutTasks();
+            if (!content.Status)
+            {
+                return new
+                {
+                    code = "404",
+                    note = content.Message
+                };
+            }
+            else
+            {
+                return new
+                {
+                    code = "000",
+                    note = "鎴愬姛",
+                    date = content.Data
+                };
+            }
+        }
+        
     }
 }

--
Gitblit v1.9.3