07 2022 档案
摘要:1. 引入相关依赖 <!--swagger--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <scope>provided </scope> </dependenc
阅读全文
摘要:@Configuration @EnableTransactionManagement @MapperScan("com.atguigu.eduservice.mapper") public class MyBatisPlusConfig { /** * SQL 执行性能分析插件 * 开发环境使用,
阅读全文
摘要:一、创建并初始化数据库 1、创建数据库: mybatis-plus 2、创建 User 表 DROP TABLE IF EXISTS user; CREATE TABLE user ( id BIGINT(20) NOT NULL COMMENT '主键ID', name VARCHAR(30) N
阅读全文