MyBatis-Plus的官方文档地址
一 当前最新版本
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.4.3.1</version>
</dependency>
只需要在pom.xml中添加如上库名
再创建一个Model
再创建一个mapper类继承自BaseMapper
创建Service
就可以调用了。
无需再进行手写sql语句