mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 04:53:45 +08:00
db.Storageable(updateList).SplitTable().ExecuteCommand();
This commit is contained in:
@@ -73,7 +73,7 @@ namespace SqlSugar
|
|||||||
foreach (var item in groupModels.GroupBy(it => it.GroupName))
|
foreach (var item in groupModels.GroupBy(it => it.GroupName))
|
||||||
{
|
{
|
||||||
var addList = item.Select(it => it.Item).ToList();
|
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;
|
return result;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user