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); }