增加Id
This commit is contained in:
@@ -18,7 +18,8 @@ namespace NX.ERP.BLL.Store
|
||||
var dal = new NX.ERP.U8.Store.PuStoreInDAL();
|
||||
ID = dal.AddVocher(new ERP.Model.Request.PuStoreIn()
|
||||
{
|
||||
Code = "190700000050",
|
||||
Id = inbound.Id,
|
||||
Code = inbound.InboundNo,
|
||||
Date = inbound.InboundDate,
|
||||
Source = inbound.SourceName,
|
||||
SourceCode = inbound.SourceNo,
|
||||
@@ -45,9 +46,9 @@ namespace NX.ERP.BLL.Store
|
||||
var dal = new NX.ERP.U8.Store.ProductInDAL();
|
||||
ID = dal.AddVoucher(new ERP.Model.Request.ProductStoreIn()
|
||||
{
|
||||
Code= "19100002",
|
||||
|
||||
|
||||
|
||||
Id = inbound.Id,
|
||||
Code = inbound.InboundNo,
|
||||
Date = inbound.InboundDate,
|
||||
Source = inbound.SourceName,
|
||||
SourceCode = inbound.SourceNo,
|
||||
@@ -72,7 +73,8 @@ namespace NX.ERP.BLL.Store
|
||||
var dal = new NX.ERP.U8.Store.OtherStoreInDAL();
|
||||
ID = dal.AddVocher(new ERP.Model.Request.OtherStoreInOut()
|
||||
{
|
||||
Code= "19100028",
|
||||
Id = inbound.Id,
|
||||
Code = inbound.InboundNo,
|
||||
Date = inbound.InboundDate,
|
||||
WhCode = inbound.WarehouseCode,
|
||||
Maker = inbound.Maker,
|
||||
@@ -90,7 +92,7 @@ namespace NX.ERP.BLL.Store
|
||||
});
|
||||
|
||||
}
|
||||
return new StoreResult() { ID = int.Parse( ID) };
|
||||
return new StoreResult() { ID = int.Parse(ID) };
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user