From 85458565e09bda1044d19b13d0b1ffb7ab576857 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期五, 22 十一月 2024 16:47:40 +0800
Subject: [PATCH] 货位分配

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Base/OutboundOrderService.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Base/OutboundOrderService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Base/OutboundOrderService.cs"
index 7f00344..65b8bf5 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Base/OutboundOrderService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/Base/OutboundOrderService.cs"
@@ -7,6 +7,7 @@
 using System.Linq.Expressions;
 using System.Text;
 using System.Threading.Tasks;
+using WIDESEA_Common.OrderEnum;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseServices;
 using WIDESEA_Core.Enums;
@@ -88,7 +89,7 @@
                 #endregion
 
                 Dt_OutboundOrder outboundOrder = _mapper.Map<Dt_OutboundOrder>(orderAddDTO);
-                outboundOrder.OrderStatus = InboundStatusEnum.鏈紑濮�.ObjToInt();
+                outboundOrder.OrderStatus = OutOrderStatusEnum.鏈紑濮�.ObjToInt();
                 bool a = BaseDal.Db.InsertNav(outboundOrder).Include(x => x.Details).ExecuteCommand();
                 content = WebResponseContent.Instance.OK();
             }
@@ -154,7 +155,7 @@
                 {
                     expressionOrder = x => x.OrderNo.Contains(outboundOrderGetDTO.OrderNo);
                 }
-                int count = BaseDal.QueryData(x => x.OrderStatus == OutboundStatusEnum.鏈紑濮�.ObjToInt()).ToList().Count();
+                int count = BaseDal.QueryData(x => x.OrderStatus == OutOrderStatusEnum.鏈紑濮�.ObjToInt()).ToList().Count();
                 int maxPage = Convert.ToInt32(Math.Ceiling(count / 10.0));
                 if (outboundOrderGetDTO.pageNo <= maxPage)
                 {

--
Gitblit v1.9.3