mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2026-07-15 00:56:10 +00:00
!867 fix 修复 非常规字段生成时htmlType为null导致模板生成失败
* fix 修复 非常规字段生成时htmlType为null导致模板生成失败
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user