07 2022 档案

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

点击右上角即可分享
微信分享提示