From 4babfcfde8b26c755850e0066f1c07fac38e96a2 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期三, 29 十月 2025 01:22:41 +0800
Subject: [PATCH] 重新优化上报erp出入库完成接口

---
 新建文件夹/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/SquareCabin/DeliveryOrderController.cs |   13 ++++++++++++-
 1 files changed, 12 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/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 da3be19..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
 {
@@ -20,7 +21,7 @@
         /// </summary>
         /// <param name="keys"></param>
         /// <returns></returns>
-        [HttpPost, HttpGet, Route("FinishOutOrder")]
+        [HttpPost, HttpGet, Route("FinishOutOrder"),AllowAnonymous]
         public WebResponseContent FinishOutOrder(int key)
         {
             return Service.FinishOutOrder(key);
@@ -108,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