Springboot integrates MyBatis-plus: code generator
AutoGenerator is the code generator of MyBatis-Plus. Through AutoGenerator, the code of various modules such as Entity, Mapper, Mapper XML, Service, and Controller can be quickly generated, which greatly improves development efficiency.
1. View the code directory structure
Two, add dependencies
<dependency>
<groupId>io.springfox