!867 fix 修复 非常规字段生成时htmlType为null导致模板生成失败

* fix 修复 非常规字段生成时htmlType为null导致模板生成失败
This commit is contained in:
Nottyjay
2026-07-01 03:02:15 +00:00
committed by 疯狂的狮子Li
parent 7ca18b7798
commit 6876bd355f
@@ -58,6 +58,8 @@ public class GenUtils {
column.setJavaField(StringUtils.toCamelCase(columnName));
// 设置默认类型
column.setJavaType(GenConstants.TYPE_STRING);
// 设置默认HTML类型
column.setHtmlType(GenConstants.HTML_INPUT);
column.setQueryType(GenConstants.QUERY_EQ);
if (arraysContains(GenConstants.COLUMNTYPE_STR, dataType) || arraysContains(GenConstants.COLUMNTYPE_TEXT, dataType)) {