From bfc11f87e2b64420c9917c0b9881b3e327d6f796 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期二, 04 十一月 2025 22:19:59 +0800
Subject: [PATCH] 优化调拨出入库

---
 新建文件夹/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/CabinOrderController.cs |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/CabinOrderController.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/CabinOrderController.cs"
index 016be92..25723f2 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/CabinOrderController.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/CabinOrderController.cs"
@@ -12,15 +12,23 @@
     [ApiController]
     public class CabinOrderController : ApiBaseController<ICabinOrderServices, Dt_CabinOrder>
     {
-        public CabinOrderController(ICabinOrderServices service) : base(service)
+        private readonly IBusiness _business;
+        public CabinOrderController(ICabinOrderServices service, IBusiness business) : base(service)
         {
+            _business = business;
         }
+        [HttpPost, HttpGet, Route("GetUpstreamOrder"), AllowAnonymous]
+        public WebResponseContent GetUpstreamOrder()
+        {
+            return _business.GetInOrder();
+        }
+        
         /// <summary>
         /// 瀹屾垚鍏ュ簱鍗�
         /// </summary>
         /// <param name="keys"></param>
         /// <returns></returns>
-        [HttpPost, HttpGet, Route("FinishInOrder")]
+        [HttpPost, HttpGet, Route("FinishInOrder"),AllowAnonymous]
         public WebResponseContent FinishInOrder(int key)
         {
             return Service.FinishInOrder(key);

--
Gitblit v1.9.3