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

This commit is contained in:
natsuki_kining 2020-10-13 17:35:02 +08:00
parent 74ec5204fe
commit 0139ed2a07

View File

@ -40,7 +40,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" };