fix: 修复评论错误情况

This commit is contained in:
陈淳
2023-12-22 17:19:18 +08:00
parent 8501af7d16
commit f6fcf7b1b2
2 changed files with 6 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ namespace Yi.Framework.SqlSugarCore
}
if (types.Count > 0)
{
db.CodeFirst.InitTables(types.ToArray());
db.CopyNew().CodeFirst.InitTables(types.ToArray());
}
}