From 073bd826637ba21d694305a7c5b10db8e1f82f99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=B0=20=E6=9C=B1?= <501697962@qq.com> Date: Wed, 3 Mar 2021 14:29:15 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NX.ERP.BLL/Store/SotreOut.cs | 2 +- NX.ERP.U8/Mom/MomOrderDAL.cs | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/NX.ERP.BLL/Store/SotreOut.cs b/NX.ERP.BLL/Store/SotreOut.cs index 2363f74..246b70a 100644 --- a/NX.ERP.BLL/Store/SotreOut.cs +++ b/NX.ERP.BLL/Store/SotreOut.cs @@ -69,7 +69,7 @@ namespace NX.ERP.BLL.Store ID = dal.AddVocher(new ERP.Model.Request.OtherStoreInOut() { Date = outBound.OutboundDate, - WhCode = outBound.Maker, + WhCode = outBound.WarehouseCode, Code= "19100032", Maker = outBound.Maker, details = outBound.OutboundDtlLst.ConvertAll(m => diff --git a/NX.ERP.U8/Mom/MomOrderDAL.cs b/NX.ERP.U8/Mom/MomOrderDAL.cs index 1163427..c1a832f 100644 --- a/NX.ERP.U8/Mom/MomOrderDAL.cs +++ b/NX.ERP.U8/Mom/MomOrderDAL.cs @@ -82,10 +82,15 @@ namespace NX.ERP.U8.Mom { where.Add(" a.moCode like @ProductOrderNo "); } + if (!string.IsNullOrEmpty(Params.ProductOrderendID)) + { + where.Add(" a.MoId >= @ProductOrderendID "); + } return this.GetOrders(string.Join(" and ", where.ToArray()), new { ProductCode = $"%{Params.ProductCode}%", - ProductOrderNo = $"{Params.ProductOrderNo}" + ProductOrderNo = $"{Params.ProductOrderNo}", + ProductOrderendID = $"{Params.ProductOrderendID}" }); }