From 387731cab892804912e68cb91e6fb804411c4756 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期一, 27 十月 2025 23:32:16 +0800
Subject: [PATCH] 优化与ERP出库单逻辑,增加打印程序

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_OrderServices/Dt_InboundOrderService.cs |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_OrderServices/Dt_InboundOrderService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_OrderServices/Dt_InboundOrderService.cs"
index f2f9ff9..3bd9217 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_OrderServices/Dt_InboundOrderService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_OrderServices/Dt_InboundOrderService.cs"
@@ -1,4 +1,5 @@
-锘縰sing WIDESEA_Core.BaseRepository;
+锘縰sing WIDESEA_Core;
+using WIDESEA_Core.BaseRepository;
 using WIDESEA_Core.BaseServices;
 using WIDESEA_IOrderRepository;
 using WIDESEA_IOrderServices;
@@ -6,6 +7,7 @@
 using WIDESEA_IStorageTaskServices;
 using WIDESEA_Model.Models;
 using WIDESEA_Model.Models.Order;
+using WIDESEA_OrderRepository;
 
 namespace WIDESEA_OrderServices
 {
@@ -19,5 +21,23 @@
             _unitOfWorkManage = unitOfWorkManage;
 
         }
+
+        public WebResponseContent GetInboundOrderInfo(string OrderNo)
+        {
+            WebResponseContent content=new WebResponseContent();
+            try
+            {
+                var InboundOrder = BaseDal.QueryFirst(x => x.OrderNo == OrderNo);
+                if (InboundOrder == null)
+                {
+                    return content.Error($"鏈壘鍒拌鍗曞彿鏁版嵁璇蜂汉宸ョ‘璁�");
+                }
+                return content.OK(data: InboundOrder);
+            }
+            catch (Exception ex)
+            {
+                return content.Error(ex.Message);
+            }
+        }
     }
 }

--
Gitblit v1.9.3