完成个删除变量功能

This commit is contained in:
2025-07-05 00:18:59 +08:00
parent 2b5d7566fe
commit ccfc2d8159
4 changed files with 31 additions and 12 deletions

View File

@@ -273,7 +273,7 @@ public class VarDataRepository
stopwatch.Start();
using var _db = DbContext.GetInstance();
var dbList = variableDatas.Select(vd => vd.CopyTo<DbVariableData>());
var dbList = variableDatas.Select(vd => vd.CopyTo<DbVariableData>()).ToList();
var result = await _db.Deleteable<DbVariableData>(dbList)
.ExecuteCommandAsync();
stopwatch.Stop();