代码生成功能

This commit is contained in:
TinyAnts
2022-06-13 16:44:18 +08:00
parent 9062c0fde3
commit b08bf59e63
16 changed files with 492 additions and 57 deletions

View File

@@ -30,8 +30,9 @@ public class GenConstants {
public static final String[] COLUMN_TYPE_TIME = {"datetime", "time", "date", "timestamp"};
/** 数据库数字类型 */
public static final String[] COLUMN_TYPE_NUMBER = {"tinyint", "smallint", "mediumint", "int",
"number", "integer", "bit", "bigint", "float", "double", "decimal"};
public static final String[] COLUMN_TYPE_NUMBER = {
"tinyint", "smallint", "mediumint", "int", "number",
"integer", "bit", "bigint", "float", "double", "decimal"};
/** 页面不需要编辑字段 */
public static final String[] COLUMN_NAME_NOT_EDIT = {"id", "create_time", "update_time", "delete_time"};