SpringBoot+Mybatis-generator简单配置
一.新建maven项目,导入相关依赖
二.一定要导入mybatis-generator插件,在pom.xml中添加:
<!-- mybatis-generator 自动代码插件 -->
<plugin>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-maven-plugin</artifactId>
<ve
原创
2020-06-28 09:23:01 ·
603 阅读 ·
0 评论