1.MyBatis-Plus和MyBatis区别
(1)导入坐标不同
(2)数据层实现简化
2.创建工程方式
(1)使用阿里云的方式创建
(2)正常创建
1. mvnrepository.com查找MyBatis-Plus的坐标
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.4.3</version>
</dependency>
2.相关配置
3.定义数据层接口与映射配置,继承BaseMapper
@Mapper
public interface StudentDao extends BaseMapper<Student> {
}