From ac3d2e8fc2db6fbecf6c3d6b6abc6b1d88af8fb3 Mon Sep 17 00:00:00 2001 From: zhaoxinyu <89237069@qq.com> Date: Tue, 4 Jun 2024 08:43:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/BQ/INVOICE_SERVICE.cs | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs index 4c45bebc..2eaddd0f 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs @@ -160,40 +160,19 @@ namespace Win.Sfs.SettleAccount.Entities.BQ var invoiceHbpoGrps = invoiceGrps.Where(p => p.BusinessType == EnumBusinessType.JisHBPO); if (invoiceBBACGrps.Any()) { - var invlist = await invoiceBBACGrps.ToListAsync().ConfigureAwait(false); - //foreach (var itm in invlist) - //{ - // itm.State = SettleBillState.发票同步中; - //} - //await _settleAccountDbContext.BulkUpdateAsync(invlist).ConfigureAwait(false); - var billinvs=invlist.Select(p => p.InvbillNum).ToList(); - await CreateBBACTaskAsync(billinvs).ConfigureAwait(false); } if (invoicePubGrps.Any()) { var invlist = await invoicePubGrps.ToListAsync().ConfigureAwait(false); - //foreach (var itm in invlist) - //{ - // itm.State = SettleBillState.发票同步中; - //} - //await _settleAccountDbContext.BulkUpdateAsync(invlist).ConfigureAwait(false); - var billinvs = invlist.Select(p => p.InvbillNum).ToList(); - await CreatePubTaskAsync(billinvs).ConfigureAwait(false); } if (invoiceHbpoGrps.Any()) { var invlist = await invoiceHbpoGrps.ToListAsync().ConfigureAwait(false); - //foreach (var itm in invlist) - //{ - // itm.State = SettleBillState.发票同步中; - //} - //await _settleAccountDbContext.BulkUpdateAsync(invlist).ConfigureAwait(false); - var billinvs = invlist.Select(p => p.InvbillNum).ToList(); await CreateHBPOTaskAsync(billinvs).ConfigureAwait(false); }