|
@ -898,8 +898,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
|
|
|
|
|
private async Task CreateBBACTaskAsync(List<string> invoiceGrps) |
|
|
private async Task CreateBBACTaskAsync(List<string> invoiceGrps) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var invDetails = await _settleAccountDbContext.Set<BBAC_CAN_SA_DETAIL>().Where(p => invoiceGrps.Contains(p.InvbillNum)).AsNoTracking().ToListAsync().ConfigureAwait(false); |
|
|
var invDetails = await _settleAccountDbContext.Set<BBAC_CAN_SA_DETAIL>().Where(p => invoiceGrps.Contains(p.InvbillNum)).AsNoTracking().ToListAsync().ConfigureAwait(false); |
|
|
foreach (var itm in invoiceGrps) |
|
|
foreach (var itm in invoiceGrps) |
|
|
{ |
|
|
{ |
|
@ -1005,10 +1003,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
|
|
|
|
|
private async Task CreateHBPOTaskAsync(List<string> invoiceGrps) |
|
|
private async Task CreateHBPOTaskAsync(List<string> invoiceGrps) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var invDetails=await _settleAccountDbContext.Set<HBPO_CAN_SA_DETAIL>().Where(p =>invoiceGrps.Contains(p.InvbillNum)).AsNoTracking().ToListAsync().ConfigureAwait(false); |
|
|
var invDetails=await _settleAccountDbContext.Set<HBPO_CAN_SA_DETAIL>().Where(p =>invoiceGrps.Contains(p.InvbillNum)).AsNoTracking().ToListAsync().ConfigureAwait(false); |
|
|
|
|
|
|
|
|
foreach (var itm in invoiceGrps) |
|
|
foreach (var itm in invoiceGrps) |
|
|
{ |
|
|
{ |
|
|
var ls = invDetails.Where(p => p.InvbillNum == itm).ToList(); |
|
|
var ls = invDetails.Where(p => p.InvbillNum == itm).ToList(); |
|
@ -1091,9 +1086,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private async Task CreatePubHongChongTaskAsync(List<string> invoiceGrps) |
|
|
private async Task CreatePubHongChongTaskAsync(List<string> invoiceGrps) |
|
|
{ |
|
|
{ |
|
|
// 对发票组进行处理
|
|
|
// 对发票组进行处理
|
|
@ -2073,25 +2065,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
return new JsonResult(new { Code = 200, Message = "退回成功" }); ; |
|
|
return new JsonResult(new { Code = 200, Message = "退回成功" }); ; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 同步QAD
|
|
|
/// 同步QAD
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|