java相关:MyBatis-Plus通过插件将数据库表生成Entiry,Mapper.xml,Mapper.class的方式
发布于 2020-4-20|
复制链接
分享一篇关于关于MyBatis-Plus通过插件将数据库表生成Entiry,Mapper.xml,Mapper.class的方式,小妖觉得内容挺不错的,现在分享给大家,具有很好的参考价值,需要的朋友一起跟随小妖来看看吧
创建maven项目,修改pom.xml文件,如下:
```xml
4.0.0
com.xxxx
parent-pom
1.0.0-SNAPSHOT
com.xxxx
mapper-creator
1.0-SNAPSHOT
d:\demo-mapper-folder
jdbc:mysql://192.168.18.140:8066/TESTDB?useUnicode=true&characterEncoding=UTF-8
root
123456
com.xxxx.demotwo
com.baomidou
mybatisplus-maven-plugin
1.0
${configuration.outputDir}
true
true
ZuoQuan Tu
false
com.mysql.jdbc.Driver
${dataSource.url}
${dataSource.username}
${dataSource.password}