Browse Source

代码生成删除多余的数字float类型

RuoYi 4 years ago
parent
commit
a3b86d6f6d

+ 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",
-            "bit", "bigint", "float", "float", "double", "decimal" };
+            "bit", "bigint", "float", "double", "decimal" };
 
     /** 页面不需要编辑字段 */
     public static final String[] COLUMNNAME_NOT_EDIT = { "id", "create_by", "create_time", "del_flag" };