修改参数名称

This commit is contained in:
gongxh
2021-03-16 09:27:13 +08:00
parent d20c4451c5
commit 7e48441739
5 changed files with 8 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ namespace NX.ERP.BLL.Model
/// <summary> /// <summary>
/// 单据ID /// 单据ID
/// </summary> /// </summary>
public int Id public int InboundId
{ {
get { return id; } get { return id; }
set { id = value; } set { id = value; }

View File

@@ -7,7 +7,7 @@ namespace NX.ERP.BLL.Model
{ {
public class OutBound public class OutBound
{ {
public int Id { get; set; } public int OutboundId { get; set; }
public string OutboundNo { get; set; } public string OutboundNo { get; set; }
public DateTime OutboundDate { get; set; } public DateTime OutboundDate { get; set; }
public OutBoundType OutboundType { get; set; } public OutBoundType OutboundType { get; set; }

View File

@@ -18,7 +18,7 @@ namespace NX.ERP.BLL.Store
var dal = new NX.ERP.U8.Store.PuStoreInDAL(); var dal = new NX.ERP.U8.Store.PuStoreInDAL();
ID = dal.SaveVoucher(new ERP.Model.Request.PuStoreIn() ID = dal.SaveVoucher(new ERP.Model.Request.PuStoreIn()
{ {
Id = inbound.Id, Id = inbound.InboundId,
Code = inbound.InboundNo, Code = inbound.InboundNo,
Date = inbound.InboundDate, Date = inbound.InboundDate,
Source = inbound.SourceName, Source = inbound.SourceName,
@@ -47,7 +47,7 @@ namespace NX.ERP.BLL.Store
ID = dal.SaveVoucher(new ERP.Model.Request.ProductStoreIn() ID = dal.SaveVoucher(new ERP.Model.Request.ProductStoreIn()
{ {
Id = inbound.Id, Id = inbound.InboundId,
Code = inbound.InboundNo, Code = inbound.InboundNo,
Date = inbound.InboundDate, Date = inbound.InboundDate,
Source = inbound.SourceName, Source = inbound.SourceName,
@@ -73,7 +73,7 @@ namespace NX.ERP.BLL.Store
var dal = new NX.ERP.U8.Store.OtherStoreInDAL(); var dal = new NX.ERP.U8.Store.OtherStoreInDAL();
ID = dal.SaveVoucher(new ERP.Model.Request.OtherStoreInOut() ID = dal.SaveVoucher(new ERP.Model.Request.OtherStoreInOut()
{ {
Id = inbound.Id, Id = inbound.InboundId,
Code = inbound.InboundNo, Code = inbound.InboundNo,
Date = inbound.InboundDate, Date = inbound.InboundDate,
WhCode = inbound.WarehouseCode, WhCode = inbound.WarehouseCode,

View File

@@ -17,7 +17,7 @@ namespace NX.ERP.BLL.Store
var dal = new U8.Store.MaterialStoreOutDAL(); var dal = new U8.Store.MaterialStoreOutDAL();
ID = dal.SaveVoucher(new ERP.Model.Request.MaterialStoreOut() ID = dal.SaveVoucher(new ERP.Model.Request.MaterialStoreOut()
{ {
Id = outBound.Id, Id = outBound.OutboundId,
Code = outBound.OutboundNo, Code = outBound.OutboundNo,
Date = outBound.OutboundDate, Date = outBound.OutboundDate,
Maker = outBound.Maker, Maker = outBound.Maker,
@@ -45,7 +45,7 @@ namespace NX.ERP.BLL.Store
var dal = new U8.Store.SaleOutDAL(); var dal = new U8.Store.SaleOutDAL();
ID = dal.SaveVoucher(new ERP.Model.Request.SaleStoreOut() ID = dal.SaveVoucher(new ERP.Model.Request.SaleStoreOut()
{ {
Id = outBound.Id, Id = outBound.OutboundId,
Code = outBound.OutboundNo, Code = outBound.OutboundNo,
Date = outBound.OutboundDate, Date = outBound.OutboundDate,
WhCode = outBound.WarehouseCode, WhCode = outBound.WarehouseCode,
@@ -72,7 +72,7 @@ namespace NX.ERP.BLL.Store
{ {
Date = outBound.OutboundDate, Date = outBound.OutboundDate,
WhCode = outBound.WarehouseCode, WhCode = outBound.WarehouseCode,
Id = outBound.Id, Id = outBound.OutboundId,
Code = outBound.OutboundNo, Code = outBound.OutboundNo,
Maker = outBound.Maker, Maker = outBound.Maker,
details = outBound.OutboundDtlLst.ConvertAll(m => details = outBound.OutboundDtlLst.ConvertAll(m =>

View File

@@ -46,9 +46,6 @@ namespace NX.ERP.U8.Mom
if (!lookupDetail.TryGetValue(OrderDetail.ProductOrderDtlId, out var momDetail)) if (!lookupDetail.TryGetValue(OrderDetail.ProductOrderDtlId, out var momDetail))
{ {
lookupDetail.Add(OrderDetail.ProductOrderDtlId, OrderDetail); lookupDetail.Add(OrderDetail.ProductOrderDtlId, OrderDetail);
Order.ProductDtlLst.Add(OrderDetail); Order.ProductDtlLst.Add(OrderDetail);
} }
else else