摘要:
一、过程 1、前端传入:interage自动转换String类型 2、数据库枚存储举类对应的类型:tinyint 3、流程 请求: 前端传入string类型(code) -> 在controller层接收,转换成枚举类型 -> 转换成数据库类 响应:数据库tinyint -> 枚举类型 -> 前端的 阅读全文
posted @ 2025-05-10 16:46
市丸银
阅读(213)
评论(0)
推荐(0)
摘要:
注意:创建实体类 父类 BaseEntity @Data public class BaseEntity implements Serializable { @Schema(description = "主键") @TableId(value = "id", type = IdType.AUTO) 阅读全文
posted @ 2025-05-10 15:56
市丸银
阅读(109)
评论(0)
推荐(0)

浙公网安备 33010602011771号