From bc4721ccd4eb476ff895fc3360e1a1256443ec25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Tue, 19 Nov 2024 15:53:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BQ/Syncs/GenerateJisInvoiceService.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/GenerateJisInvoiceService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/GenerateJisInvoiceService.cs index a6bfe9d4..86f5f6c3 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/GenerateJisInvoiceService.cs +++ b/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);