Commit 403f5c5dcf2324df739817a0488354aee6dfb923

Authored by RuoYi
1 parent 08df2c93

解决代码生成没有bit类型的问题

ruoyi-common/src/main/java/com/ruoyi/common/constant/GenConstants.java
... ... @@ -37,7 +37,7 @@ public class GenConstants
37 37  
38 38 /** 数据库数字类型 */
39 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 43 public static final String[] COLUMNNAME_NOT_EDIT = { "id", "create_by", "create_time", "del_flag" };
... ...