From 5ab6b36c0c4bd80a31dcdd9f15cc835b7352c4e7 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期四, 16 一月 2025 11:08:02 +0800
Subject: [PATCH] 1

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 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 5dbaca8..86f2e77 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;
@@ -22,6 +23,12 @@
         {
 
         }
+
+        /// <summary>
+        /// 
+        /// </summary>
+        /// <param name="id"></param>
+        /// <returns></returns>
         [HttpPost, Route("TestOutUpload"), AllowAnonymous]
         public WebResponseContent TestOutUpload(int id)
         {
@@ -47,5 +54,25 @@
         {
             return Service.outpinku(saveModel);
         }
+        /// <summary>
+        /// 鍙戞枡鍗曞彿鐢熸垚
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, Route("CreateCodeByRule"), AllowAnonymous]
+        public string CreateCodeByRule(string ruleCode)
+        {
+            return Service.CreateCodeByRule(nameof(RuleCodeEnum.FLCodeRule));
+        }
+        /// <summary>
+        /// 浣跨敤鍑哄簱鍗曞畬鎴怑RP鍑哄簱鎺ㄩ��
+        /// </summary>
+        /// <param name="outId">鍑哄簱鍗旾D</param>
+        /// <param name="WarehouseCode">浠撳簱浠e彿</param>
+        /// <returns></returns>
+        [HttpPost, Route("PushERPOutBound"), AllowAnonymous]
+        public WebResponseContent PushERPOutBound(int outId, string WarehouseCode)
+        {
+            return Service.PushERPOutBound(outId, WarehouseCode);
+        }
     }
 }

--
Gitblit v1.9.3