mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 01:25:28 +08:00
!867 fix 修复 非常规字段生成时htmlType为null导致模板生成失败
* fix 修复 非常规字段生成时htmlType为null导致模板生成失败
This commit is contained in:
parent
7ca18b7798
commit
6876bd355f
@ -58,6 +58,8 @@ public class GenUtils {
|
|||||||
column.setJavaField(StringUtils.toCamelCase(columnName));
|
column.setJavaField(StringUtils.toCamelCase(columnName));
|
||||||
// 设置默认类型
|
// 设置默认类型
|
||||||
column.setJavaType(GenConstants.TYPE_STRING);
|
column.setJavaType(GenConstants.TYPE_STRING);
|
||||||
|
// 设置默认HTML类型
|
||||||
|
column.setHtmlType(GenConstants.HTML_INPUT);
|
||||||
column.setQueryType(GenConstants.QUERY_EQ);
|
column.setQueryType(GenConstants.QUERY_EQ);
|
||||||
|
|
||||||
if (arraysContains(GenConstants.COLUMNTYPE_STR, dataType) || arraysContains(GenConstants.COLUMNTYPE_TEXT, dataType)) {
|
if (arraysContains(GenConstants.COLUMNTYPE_STR, dataType) || arraysContains(GenConstants.COLUMNTYPE_TEXT, dataType)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user