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

@@ -224,7 +224,7 @@ public class VariableAppService : IVariableAppService
try
{
var variableModels = _mapper.Map<List<Variable>>(variables);
var addedVariables = await _repoManager.Variables.AddBatchAsync(variableModels);
var addedVariables = await _repoManager.Variables.AddAsync(variableModels);
return _mapper.Map<List<Variable>>(addedVariables);
}
catch (Exception ex)