MybatisPlus 快速开始

基本步骤
Step: 1 引入依赖

<dependency>
	<groupId>com.baomidou</groupId>
	<artifactId>mybatis-plus-boot-starter</artifactId>
	<version>3.5.3.1</version>
</dependency>

Step: 2 定义Mapper接口并继承BaseMapper

package com.wml.learn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wml.learn.domain.po.Student;

public interface StudentMapper extends BaseMapper<Student> {
}