db.Storageable(updateList).SplitTable().ExecuteCommand();

This commit is contained in:
sunkaixuan 2023-08-18 15:49:55 +08:00
parent dae6a52843
commit fd4229a83e

View File

@ -73,7 +73,7 @@ namespace SqlSugar
foreach (var item in groupModels.GroupBy(it => it.GroupName))
{
var addList = item.Select(it => it.Item).ToList();
resultValue += this.Context.Storageable(addList).ExecuteCommand();
resultValue += this.Context.Storageable(addList).As(item.Key).ExecuteCommand();
}
return result;
}