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