refactor:将AddBathAsync改为AddAsync

This commit is contained in:
2025-10-21 13:04:11 +08:00
parent 3116e4ce92
commit 5a3242a90b
20 changed files with 32 additions and 32 deletions

View File

@@ -94,7 +94,7 @@ public class HistoryProcessor : IVariableProcessor, IDisposable
{
try
{
await _repositoryManager.VariableHistories.AddBatchAsync(itemsToProcess);
await _repositoryManager.VariableHistories.AddAsync(itemsToProcess);
_logger.LogInformation("成功插入 {Count} 条变量历史记录到数据库", itemsToProcess.Count);
}
catch (Exception ex)