优化代码生成&新增默认值处理

This commit is contained in:
不做码农
2023-02-17 11:02:27 +08:00
parent a51c85fcad
commit c7582e62ed
15 changed files with 128 additions and 75 deletions

View File

@@ -79,6 +79,10 @@ namespace ZR.CodeGenerator
{
replaceDto.SelectMulti = 1;
}
if (dbFieldInfo.HtmlType.Equals(GenConstants.HTML_EDITOR))
{
replaceDto.ShowEditor = 1;
}
dbFieldInfo.CsharpFieldFl = dbFieldInfo.CsharpField.FirstLowerCase();
}