From cebd0800e9b5e1a1055a48d5e52f3f8a85e8d82c Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期一, 13 一月 2025 20:59:26 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs |   41 ++++++++++++++++++++++++++++++++++-------
 1 files changed, 34 insertions(+), 7 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs"
index 0fc367f..c8c8cfe 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs"
@@ -4,6 +4,7 @@
 using Microsoft.AspNetCore.Mvc;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
+using WIDESEA_Core.CodeConfigEnum;
 using WIDESEA_DTO.Inbound;
 using WIDESEA_DTO.Outbound;
 using WIDESEA_IOutboundService;
@@ -11,6 +12,9 @@
 
 namespace WIDESEA_WMSServer.Controllers.Outbound
 {
+    /// <summary>
+    /// 鍑哄簱鍗�
+    /// </summary>
     [Route("api/OutboundOrder")]
     [ApiController]
     public class OutboundOrderController : ApiBaseController<IOutboundOrderService, Dt_OutboundOrder>
@@ -19,16 +23,39 @@
         {
 
         }
-
-        [HttpPost, Route("GetOutboundOrder"), AllowAnonymous]
-        public WebResponseContent GetOutboundOrder([FromBody] OutboundOrderGetDTO outboundOrderGetDTO)
+        [HttpPost, Route("TestOutUpload"), AllowAnonymous]
+        public WebResponseContent TestOutUpload(int id)
         {
-            return Service.GetOutboundOrder(outboundOrderGetDTO);
+            return Service.TestOutUpload(id);
         }
-        [HttpPost, Route("GetOutboundOrderDetail"), AllowAnonymous]
-        public WebResponseContent GetOutboundOrderDetail([FromBody] string OrderNo)
+        /// <summary>
+        /// 鑾峰彇鍑哄簱鍗�
+        /// </summary>
+        /// <param name="saveModel"></param>
+        /// <returns></returns>
+        [HttpPost, Route("GetOutboundOrders"), AllowAnonymous]
+        public WebResponseContent GetOutboundOrders([FromBody] SaveModel saveModel)
         {
-            return Service.GetOutboundOrderDetail(OrderNo);
+            return Service.GetOutboundOrders(saveModel);
+        }
+        /// <summary>
+        /// 鍑哄钩搴撳簱瀛�
+        /// </summary>
+        /// <param name="saveModel"></param>
+        /// <returns></returns>
+        [HttpPost, Route("outpinku"), AllowAnonymous]
+        public WebResponseContent outpinku([FromBody] SaveModel saveModel)
+        {
+            return Service.outpinku(saveModel);
+        }
+        /// <summary>
+        /// 鍙戞枡鍗曞彿鐢熸垚
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, Route("CreateCodeByRule"), AllowAnonymous]
+        public string CreateCodeByRule(string ruleCode)
+        {
+            return Service.CreateCodeByRule(nameof(RuleCodeEnum.FLCodeRule));
         }
     }
 }

--
Gitblit v1.9.3