Browse Source

提交

master
学 赵 2 months ago
parent
commit
bc4721ccd4
  1. 16
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/GenerateJisInvoiceService.cs

16
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/GenerateJisInvoiceService.cs

@ -716,7 +716,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
foreach (var groupnum in invoicegrup)
{
mapList.Add(new INVOICE_MAP_GROUP(
guid: GuidGenerator.Create(),
guid: Guid.NewGuid(),
version: p_version,
invbillNum: inv.InvBillNum,
invGroupNum: p_InvGroupNum,
@ -742,7 +742,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
foreach (var sitm in sq)
{
innotls.Add(new INVOICE_NOT_SETTLE(
guid: GuidGenerator.Create(),
guid: Guid.NewGuid(),
version: p_version,
invGroupNum: p_InvGroupNum,
settleGroupNum: sitm.GroupNum,
@ -765,7 +765,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
{
_entityDetailList.Add(
new INVOICE_WAIT_DETAIL(
guid: GuidGenerator.Create(),
guid: Guid.NewGuid(),
version: p_version,
invbillNum: inv.InvBillNum,
invGroupNum: p_InvGroupNum,
@ -789,7 +789,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
#region 发票
var invbill = new INVOICE_GRP
(
guid: GuidGenerator.Create(),
guid: Guid.NewGuid(),
realnvBillNum: string.Empty,
invbillNum: inv.InvBillNum,
amt: amt,
@ -834,7 +834,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
foreach (var sitm in sq)
{
innotls.Add(new INVOICE_NOT_SETTLE(
guid: GuidGenerator.Create(),
guid: Guid.NewGuid(),
version: p_version,
invGroupNum: p_InvGroupNum,
settleGroupNum: sitm.GroupNum,
@ -857,7 +857,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
{
_entityDetailList.Add(
new INVOICE_WAIT_DETAIL(
guid: GuidGenerator.Create(),
guid: Guid.NewGuid(),
version: p_version,
invbillNum: inv.InvBillNum,
invGroupNum: p_InvGroupNum,
@ -881,7 +881,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
#region 发票
var invbill = new INVOICE_GRP
(
guid: GuidGenerator.Create(),
guid: Guid.NewGuid(),
realnvBillNum: string.Empty,
invbillNum: inv.InvBillNum,
amt: amt,
@ -946,7 +946,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
).ToList();
foreach (var itm in detailext)
{
itm.SetId(GuidGenerator.Create());
itm.SetId(Guid.NewGuid());
itm.CreationTime = DateTime.Now;
}
_dbcontext.BulkInsert(detailext);

Loading…
Cancel
Save