From 65e6a209b3b21d2de99b902f393e5db28f46b82e Mon Sep 17 00:00:00 2001 From: "Ray.Hao" <1490493387@qq.com> Date: Tue, 3 Sep 2024 22:49:42 +0800 Subject: [PATCH] =?UTF-8?q?wip:=20=E9=A1=B9=E7=9B=AE=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E9=87=8D=E6=9E=84=E5=BC=80=E5=8F=91=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/nacos/nacos_config.zip | Bin 14180 -> 13968 bytes .../com/youlai/system/enums/FormTypeEnum.java | 84 ++++++++++++++ .../youlai/system/enums/QueryTypeEnum.java | 73 +++++++++++++ .../system/model/entity/GenFieldConfig.java | 6 +- .../system/model/form/GenConfigForm.java | 103 ++++++++++++++++++ 5 files changed, 263 insertions(+), 3 deletions(-) create mode 100644 youlai-system/system-boot/src/main/java/com/youlai/system/enums/FormTypeEnum.java create mode 100644 youlai-system/system-boot/src/main/java/com/youlai/system/enums/QueryTypeEnum.java create mode 100644 youlai-system/system-boot/src/main/java/com/youlai/system/model/form/GenConfigForm.java diff --git a/docs/nacos/nacos_config.zip b/docs/nacos/nacos_config.zip index 839ddc882f91dcf28f98478cf0fa0a4f55cce244..f79e9f25afd3c821dd07521ebfdfd2521f97e4f7 100644 GIT binary patch delta 10550 zcmZWvWl$d5vc(;OOK^90*Wd(qhXhG*_d!40-QC^YU4y#>*WgZomvio`SLfU}^J{jk zu3gjBwYqzC@7csyqbSKiLScfz!NGw+HIZw_qA&s08oH{OQkXtlhOFvEmnxj~I7-Il zB?A)iN{JTgJ?7=9#~YRznOX7=H6l3(bfTm+CTePSrUUo`G;$LPXnoP}?Da2uh9k%4 zEBe^m;2vF$zZ|<9KOQ^{FdnF;nUO}}B70$kGb`-w5>0)lV#FIE?YF?iOCm-czoc=F zxY+^Rh!|iBgE(ru*uuOwoKQ{M!ev99Ei=4NaSuXRO_0-#Xc9OqQ6E1WU|1NO?9ClV zc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X`AX9jmq|RlZX>nHsu&ipOh9mNPLFkgg_Q8Np1AnK09HgM3BC539qvEi%YYG{3kalq_Pk&3l z&b9WcD>-$skUW|tc4rgHm=Yc7-=m%7YH8e?Kl$F>n@+MhUG#EYwtB2~p3(9$(d}TN zBgBkcZ$1&iK{9v2qUg6-b%bAk^y}BJ2__KjU4K8EEO>@XakVb4N2v5JDw+Dyh2`Rp ztfH;7zB572wu@q+UQ(TbCFYszvRFCN>1O|FNkDDFl-b4-(Hy_%GnU zi&(P%0IpO23%JIM|1aQQX8ym#O#UB06Q;jFmVbf%_h|k(8LIyP9kTxg;nVyFW2-8_ V{dJ`P0HnWf*WclU6rO*+{tuEK2A}`{ diff --git a/youlai-system/system-boot/src/main/java/com/youlai/system/enums/FormTypeEnum.java b/youlai-system/system-boot/src/main/java/com/youlai/system/enums/FormTypeEnum.java new file mode 100644 index 000000000..9612d4cf2 --- /dev/null +++ b/youlai-system/system-boot/src/main/java/com/youlai/system/enums/FormTypeEnum.java @@ -0,0 +1,84 @@ +package com.youlai.system.enums; + +import com.baomidou.mybatisplus.annotation.EnumValue; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import com.youlai.boot.common.base.IBaseEnum; +import lombok.Getter; +import lombok.RequiredArgsConstructor; + +/** + * 表单类型枚举 + * + * @author Ray + * @since 2.10.0 + */ +@Getter +@RequiredArgsConstructor +public enum FormTypeEnum implements IBaseEnum { + + /** + * 输入框 + */ + INPUT(1, "输入框"), + + /** + * 下拉框 + */ + SELECT(2, "下拉框"), + + /** + * 单选框 + */ + RADIO(3, "单选框"), + + /** + * 复选框 + */ + CHECK_BOX(4, "复选框"), + + /** + * 数字输入框 + */ + INPUT_NUMBER(5, "数字输入框"), + + /** + * 开关 + */ + SWITCH(6, "开关"), + + /** + * 文本域 + */ + TEXT_AREA(7, "文本域"), + + /** + * 日期时间框 + */ + DATE(8, "日期框"), + + /** + * 日期框 + */ + DATE_TIME(9, "日期时间框"); + + + // Mybatis-Plus 提供注解表示插入数据库时插入该值 + @EnumValue + @JsonValue + private final Integer value; + + // @JsonValue // 表示对枚举序列化时返回此字段 + private final String label; + + + @JsonCreator + public static QueryTypeEnum fromValue(Integer value) { + for (QueryTypeEnum type : QueryTypeEnum.values()) { + if (type.getValue().equals(value)) { + return type; + } + } + throw new IllegalArgumentException("No enum constant with value " + value); + } +} diff --git a/youlai-system/system-boot/src/main/java/com/youlai/system/enums/QueryTypeEnum.java b/youlai-system/system-boot/src/main/java/com/youlai/system/enums/QueryTypeEnum.java new file mode 100644 index 000000000..dcd56392f --- /dev/null +++ b/youlai-system/system-boot/src/main/java/com/youlai/system/enums/QueryTypeEnum.java @@ -0,0 +1,73 @@ +package com.youlai.system.enums; + +import com.baomidou.mybatisplus.annotation.EnumValue; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; +import com.youlai.boot.common.base.IBaseEnum; +import lombok.Getter; +import lombok.RequiredArgsConstructor; + +/** + * 查询类型枚举 + * + * @author Ray + * @since 2.10.0 + */ +@Getter +@RequiredArgsConstructor +public enum QueryTypeEnum implements IBaseEnum { + + /** 等于 */ + EQ(1, "="), + + /** 模糊匹配 */ + LIKE(2, "LIKE '%s%'"), + + /** 包含 */ + IN(3, "IN"), + + /** 范围 */ + BETWEEN(4, "BETWEEN"), + + /** 大于 */ + GT(5, ">"), + + /** 大于等于 */ + GE(6, ">="), + + /** 小于 */ + LT(7, "<"), + + /** 小于等于 */ + LE(8, "<="), + + /** 不等于 */ + NE(9, "!="), + + /** 左模糊匹配 */ + LIKE_LEFT(10, "LIKE '%s'"), + + /** 右模糊匹配 */ + LIKE_RIGHT(11, "LIKE 's%'"); + + + // 存储在数据库中的枚举属性值 + @EnumValue + @JsonValue + private final Integer value; + + // 序列化成 JSON 时的属性值 + private final String label; + + + @JsonCreator + public static QueryTypeEnum fromValue(Integer value) { + for (QueryTypeEnum type : QueryTypeEnum.values()) { + if (type.getValue().equals(value)) { + return type; + } + } + throw new IllegalArgumentException("No enum constant with value " + value); + } + +} diff --git a/youlai-system/system-boot/src/main/java/com/youlai/system/model/entity/GenFieldConfig.java b/youlai-system/system-boot/src/main/java/com/youlai/system/model/entity/GenFieldConfig.java index 872e70efc..949d8eae9 100644 --- a/youlai-system/system-boot/src/main/java/com/youlai/system/model/entity/GenFieldConfig.java +++ b/youlai-system/system-boot/src/main/java/com/youlai/system/model/entity/GenFieldConfig.java @@ -3,9 +3,9 @@ package com.youlai.system.model.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.youlai.boot.common.base.BaseEntity; -import com.youlai.boot.common.enums.FormTypeEnum; -import com.youlai.boot.common.enums.QueryTypeEnum; +import com.youlai.common.base.BaseEntity; +import com.youlai.system.enums.FormTypeEnum; +import com.youlai.system.enums.QueryTypeEnum; import lombok.Getter; import lombok.Setter; diff --git a/youlai-system/system-boot/src/main/java/com/youlai/system/model/form/GenConfigForm.java b/youlai-system/system-boot/src/main/java/com/youlai/system/model/form/GenConfigForm.java new file mode 100644 index 000000000..18b565600 --- /dev/null +++ b/youlai-system/system-boot/src/main/java/com/youlai/system/model/form/GenConfigForm.java @@ -0,0 +1,103 @@ +package com.youlai.system.model.form; + +import com.youlai.system.enums.FormTypeEnum; +import com.youlai.system.enums.QueryTypeEnum; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +import java.util.List; + +/** + * 代码生成配置表单 + * + * @author Ray + * @since 2.10.0 + */ +@Schema(description = "代码生成配置表单") +@Data +public class GenConfigForm { + + @Schema(description = "主键",example = "1") + private Long id; + + @Schema(description = "表名",example = "sys_user") + private String tableName; + + @Schema(description = "业务名",example = "用户") + private String businessName; + + @Schema(description = "模块名",example = "system") + private String moduleName; + + @Schema(description = "包名",example = "com.youlai") + private String packageName; + + @Schema(description = "实体名",example = "User") + private String entityName; + + @Schema(description = "作者",example = "youlaitech") + private String author; + + @Schema(description = "上级菜单ID",example = "1") + private Long parentMenuId; + + @Schema(description = "字段配置列表") + private List fieldConfigs; + + @Schema(description = "后端应用名") + private String backendAppName; + + @Schema(description = "前端应用名") + private String frontendAppName; + + @Schema(description = "字段配置") + @Data + public static class FieldConfig { + + @Schema(description = "主键") + private Long id; + + @Schema(description = "列名") + private String columnName; + + @Schema(description = "列类型") + private String columnType; + + @Schema(description = "字段名") + private String fieldName; + + @Schema(description = "字段排序") + private Integer fieldSort; + + @Schema(description = "字段类型") + private String fieldType; + + @Schema(description = "字段描述") + private String fieldComment; + + @Schema(description = "是否在列表显示") + private Integer isShowInList; + + @Schema(description = "是否在表单显示") + private Integer isShowInForm; + + @Schema(description = "是否在查询条件显示") + private Integer isShowInQuery; + + @Schema(description = "是否必填") + private Integer isRequired; + + @Schema(description = "最大长度") + private Integer maxLength; + + @Schema(description = "表单类型") + private FormTypeEnum formType; + + @Schema(description = "查询类型") + private QueryTypeEnum queryType; + + @Schema(description = "字典类型") + private String dictType; + + } +}