随笔分类 - Mybatis Plus
摘要:1.雪花id,满足数据类型为LONG,mp的默认id mysql 数据库id类型为 bigint 实体类为 long @Data @NoArgsConstructor @AllArgsConstructor @TableName("t_person") public class Person { @
阅读全文
摘要:方案:将两个的版本都提高即可解决 Mybatis—plus的依赖文件 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.5.3</ver
阅读全文