Commit 403f5c5dcf2324df739817a0488354aee6dfb923
1 parent
08df2c93
解决代码生成没有bit类型的问题
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-common/src/main/java/com/ruoyi/common/constant/GenConstants.java
| @@ -37,7 +37,7 @@ public class GenConstants | @@ -37,7 +37,7 @@ public class GenConstants | ||
| 37 | 37 | ||
| 38 | /** 数据库数字类型 */ | 38 | /** 数据库数字类型 */ |
| 39 | public static final String[] COLUMNTYPE_NUMBER = { "tinyint", "smallint", "mediumint", "int", "number", "integer", | 39 | public static final String[] COLUMNTYPE_NUMBER = { "tinyint", "smallint", "mediumint", "int", "number", "integer", |
| 40 | - "bigint", "float", "float", "double", "decimal" }; | 40 | + "bit", "bigint", "float", "float", "double", "decimal" }; |
| 41 | 41 | ||
| 42 | /** 页面不需要编辑字段 */ | 42 | /** 页面不需要编辑字段 */ |
| 43 | public static final String[] COLUMNNAME_NOT_EDIT = { "id", "create_by", "create_time", "del_flag" }; | 43 | public static final String[] COLUMNNAME_NOT_EDIT = { "id", "create_by", "create_time", "del_flag" }; |