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

master
RuoYi 4 years ago
parent 08df2c93a9
commit 403f5c5dcf
  1. 2
      ruoyi-common/src/main/java/com/ruoyi/common/constant/GenConstants.java

@ -37,7 +37,7 @@ public class GenConstants
/** 数据库数字类型 */
public static final String[] COLUMNTYPE_NUMBER = { "tinyint", "smallint", "mediumint", "int", "number", "integer",
"bigint", "float", "float", "double", "decimal" };
"bit", "bigint", "float", "float", "double", "decimal" };
/** 页面不需要编辑字段 */
public static final String[] COLUMNNAME_NOT_EDIT = { "id", "create_by", "create_time", "del_flag" };

Loading…
Cancel
Save