瀏覽代碼

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

RuoYi 4 年之前
父節點
當前提交
403f5c5dcf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-common/src/main/java/com/ruoyi/common/constant/GenConstants.java

+ 1 - 1
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" };