fix {ForeignKeyTemplate}存在无法生成的问题

This commit is contained in:
yubaolee
2021-09-14 23:57:24 +08:00
parent 4f37560dc8
commit 8fb9297145
2 changed files with 11 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ namespace OpenAuth.App
var columnFields = loginContext.GetTableColumns("{ClassName}");
if (columnFields == null || columnFields.Count == 0)
{
throw new Exception("请在代码生成界面配置Resource表的字段属性");
throw new Exception("请在代码生成界面配置{ClassName}表的字段属性");
}
var result = new TableData();