mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 01:25:28 +08:00
Pre Merge pull request !867 from Nottyjay/fix-gen-unknow-type
This commit is contained in:
commit
f1c2c0705b
@ -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)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user