Browse Source

更新版本

master
学 赵 12 months ago
parent
commit
1ea248a783
  1. 10
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs
  2. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/SeSyncExtendManager.cs

10
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs

@ -336,14 +336,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
//红冲发票提交QAD
if (!string.IsNullOrEmpty(invoiceGrp.ParentInvbillNum))
{
if (invoiceGrp.BusinessType == EnumBusinessType.JisBBAC)
{
await SubmitToQadHongChongAsync(invoiceGrp.ParentInvbillNum).ConfigureAwait(false);
}
else
{
await SubmitToQadHongChongAsync(invoiceGrp.ParentInvbillNum).ConfigureAwait(false);
}
}
//await _exChangeCenterDbContext.Set<TEA_TASK_SUB>().AddAsync(teaTaskSub).ConfigureAwait(false);

4
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/SeSyncExtendManager.cs

@ -139,7 +139,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
factory = t.BusinessType.ToString()
}).ToList();
vmiLogList.AddRange(returnVmiLogList);
//await SaveVmiLogsAsync(vmiLogList).ConfigureAwait(false);
await SaveVmiLogsAsync(vmiLogList).ConfigureAwait(false);
}
/// <summary>
@ -218,7 +218,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
/// </summary>
private async Task SaveVmiLogsAsync(List<VmiLog> vmiLogs)
{
await SaveVmiMessagesAsync(vmiLogs).ConfigureAwait(false);
// await SaveVmiMessagesAsync(vmiLogs).ConfigureAwait(false);
await _settleAccountDbContext.BulkInsertAsync(vmiLogs).ConfigureAwait(false);
}

Loading…
Cancel
Save