|
@@ -3,7 +3,9 @@
|
|
|
|
|
|
<generatorConfiguration>
|
|
|
|
|
|
- <context id="KxsMainServer">
|
|
|
+ <classPathEntry location="/Users/lichunlei/MyDisk/JavaProduct/kxs/adminap/src/main/resources/mysql-connector-j-8.0.33.jar" />
|
|
|
+
|
|
|
+ <context id="KxsMainServer" targetRuntime="MyBatis3">
|
|
|
|
|
|
<plugin type="org.mybatis.generator.plugins.SerializablePlugin" />
|
|
|
|
|
@@ -22,20 +24,25 @@
|
|
|
<property name="forceBigDecimals" value="false" />
|
|
|
</javaTypeResolver>
|
|
|
|
|
|
- <javaModelGenerator targetPackage="KxsMainServer.model" targetProject="\adminap\src">
|
|
|
+ <javaModelGenerator targetPackage="model.main" targetProject="src/main/java/com/kxs/adminap/">
|
|
|
<property name="enableSubPackages" value="true" />
|
|
|
- <property name="trimStrings" value="true" />
|
|
|
</javaModelGenerator>
|
|
|
|
|
|
- <sqlMapGenerator targetPackage="KxsMainServer.xml" targetProject="\adminap\src">
|
|
|
+ <sqlMapGenerator targetPackage="xml.main" targetProject="src/main/java/com/kxs/adminap/">
|
|
|
<property name="enableSubPackages" value="true" />
|
|
|
</sqlMapGenerator>
|
|
|
|
|
|
- <javaClientGenerator type="XMLMAPPER" targetPackage="KxsMainServer.dao" targetProject="\adminap\src">
|
|
|
+ <javaClientGenerator type="XMLMAPPER" targetPackage="dao.main" targetProject="src/main/java/com/kxs/adminap/">
|
|
|
<property name="enableSubPackages" value="true" />
|
|
|
</javaClientGenerator>
|
|
|
|
|
|
- <table schema="Users" tableName="Users" domainObjectName="Customer">
|
|
|
+ <table schema="Users" tableName="Users" domainObjectName="Users">
|
|
|
+ <property name="useActualColumnNames" value="true"/>
|
|
|
+ <generatedKey column="ID" sqlStatement="db" identity="true" />
|
|
|
+ </table>
|
|
|
+ <table schema="UserAccount" tableName="UserAccount" domainObjectName="UserAccount">
|
|
|
+ <property name="useActualColumnNames" value="true"/>
|
|
|
+ <generatedKey column="ID" sqlStatement="db" identity="true" />
|
|
|
</table>
|
|
|
|
|
|
</context>
|