MyBatisPlus 自动生成
根据数据表自动生成实体类、Mapper、Service、
ServiceImpl、Controller
1、pom.xml 导⼊ MyBatis Plus Generator
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plusgenerator</artifactId>
<version>3.3.1.tmp</version>
</dependency> <dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.7</version>
</dependency>
Velocity(默认)、Freemarker、Beetl
2、启动类
package com.southwind.mybatisplus;
import
com