Browse Source

更新版本

master
zhaoxinyu 5 months ago
parent
commit
ac3d2e8fc2
  1. 21
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs

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

Loading…
Cancel
Save