:zap:优化代码生成

This commit is contained in:
不做码农
2023-11-22 21:37:26 +08:00
parent 332acde5a0
commit ea4acde028
3 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -706,8 +706,8 @@ namespace ZR.Service
//Insert(menuList);
var x = Context.Storageable(menuList)
.SplitInsert(it => !it.Any())
.SplitUpdate(it => !it.Any())
//.SplitInsert(it => !it.Any())
//.SplitUpdate(it => !it.Any())
.WhereColumns(it => new { it.MenuName, it.ParentId })
.ToStorage();
x.AsInsertable.ExecuteCommand();//插入可插入部分;