随笔分类 - MyBatis
摘要:@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
阅读全文