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/DeliveryOrderController.cs |   28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 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/DeliveryOrderController.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/DeliveryOrderController.cs"
index 7c65587..c11332c 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/DeliveryOrderController.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/DeliveryOrderController.cs"
@@ -5,6 +5,7 @@
 using WIDESEA_Core.BaseController;
 using WIDESEA_ISquareCabinServices;
 using WIDESEA_Model.Models;
+using static WIDESEA_DTO.SquareCabin.OrderDto;
 
 namespace WIDESEA_WMSServer.Controllers
 {
@@ -15,7 +16,16 @@
         public DeliveryOrderController(IDeliveryOrderServices service) : base(service)
         {
         }
-
+        /// <summary>
+        /// 瀹屾垚鍑哄簱鍗�
+        /// </summary>
+        /// <param name="keys"></param>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("FinishOutOrder"),AllowAnonymous]
+        public WebResponseContent FinishOutOrder(int key)
+        {
+            return Service.FinishOutOrder(key);
+        }
 
         /// <summary>
         /// 鍒涘缓鐩樼偣浠诲姟
@@ -23,7 +33,7 @@
         /// <param name="keys"></param>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("CreateCheckOrder")]
-        public WebResponseContent CreateCheckOrder([FromBody]int[] keys)
+        public WebResponseContent CreateCheckOrder([FromBody] int[] keys)
         {
             return Service.CreateCheckOrder(keys);
         }
@@ -55,7 +65,7 @@
         [HttpPost, HttpGet, Route("GetDeliveryOrderDetail")]
         public WebResponseContent GetDeliveryOrderDetail(int pageNo, string orderNo, bool isPick)
         {
-            return Service.GetDeliveryOrderDetail(pageNo, orderNo,isPick);
+            return Service.GetDeliveryOrderDetail(pageNo, orderNo, isPick);
         }
         /// <summary>
         /// 瀹屾垚鐩樼偣浠诲姟
@@ -99,6 +109,16 @@
             return Service.InventoryGood(batchNo, goodsNo);
         }
 
-       
+        /// <summary>
+        /// 鍑哄簱娴嬭瘯
+        /// </summary>
+        /// <param name="outorder"></param>
+        /// <returns></returns>
+        [HttpPost, Route("CreateOutboundOrder"), AllowAnonymous]
+        public WebResponseContent CreateOutboundOrder([FromBody]UpstramOutOrderInfo outorder)
+        {
+            return Service.CreateOutboundOrder(outorder);
+        }
+
     }
 }

--
Gitblit v1.9.3