bug修改

This commit is contained in:
杰 朱
2021-03-03 14:29:15 +08:00
parent 3764563040
commit 073bd82663
2 changed files with 7 additions and 2 deletions

View File

@@ -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 =>

View File

@@ -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}"
});
}