Mystery0の小站

Mystery0の小站

工作记录

MyBatis 与 MySQL tinyint(1) 踩坑

现象 如果使用了 MyBatis-Plus 的枚举自动映射,那么在代码运行时,可能会存在查询得到的 POJO对象 中,枚举的数据为 null 。 实体类定义: public class Communication implements BasePO { @TableId privat
2526
0
0
2019-11-13