修复generatorConfig模板
This commit is contained in:
parent
500564407e
commit
238fcc8815
|
@ -3,7 +3,7 @@
|
||||||
<generatorConfiguration>
|
<generatorConfiguration>
|
||||||
|
|
||||||
<!-- 配置文件 -->
|
<!-- 配置文件 -->
|
||||||
<properties resource="jdbc.properties"></properties>
|
<properties resource="generator.properties"></properties>
|
||||||
|
|
||||||
<context id="MysqlContext" targetRuntime="MyBatis3" defaultModelType="flat">
|
<context id="MysqlContext" targetRuntime="MyBatis3" defaultModelType="flat">
|
||||||
|
|
||||||
|
@ -46,10 +46,10 @@
|
||||||
</commentGenerator>
|
</commentGenerator>
|
||||||
|
|
||||||
<!-- 数据库连接 -->
|
<!-- 数据库连接 -->
|
||||||
<jdbcConnection driverClass="${master.jdbc.driver}"
|
<jdbcConnection driverClass="${generator.jdbc.driver}"
|
||||||
connectionURL="${master.jdbc.url}"
|
connectionURL="${generator.jdbc.url}"
|
||||||
userId="${master.jdbc.username}"
|
userId="${generator.jdbc.username}"
|
||||||
password="${master_jdbc_password}" />
|
password="${generator_jdbc_password}" />
|
||||||
|
|
||||||
<!-- model生成 -->
|
<!-- model生成 -->
|
||||||
<javaModelGenerator targetPackage="${generator_javaModelGenerator_targetPackage}" targetProject="${targetProject}/src/main/java" />
|
<javaModelGenerator targetPackage="${generator_javaModelGenerator_targetPackage}" targetProject="${targetProject}/src/main/java" />
|
||||||
|
|
Loading…
Reference in New Issue