在pom.xml下的<build>内加入:
org.mybatis.generator mybatis-generator-maven-plugin 1.3.7 ${basedir}/src/main/resources/generatorConfig.xml true org.mariadb.jdbc mariadb-java-client 2.3.0
generatorConfig.xml:文件
如果多个表把tableName="%" 改为百分号
posted @ 2018-12-05 09:40 阅读( ...) 评论( ...)