47 lines
1.8 KiB
XML
47 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" >
|
|
<generatorConfiguration>
|
|
|
|
<context id="entmobile" targetRuntime="MyBatis3">
|
|
|
|
<plugin type="org.mybatis.generator.plugins.AddLimitOffsetPlugin" />
|
|
<plugin type="org.mybatis.generator.plugins.ToStringPlugin" />
|
|
|
|
<commentGenerator>
|
|
<property name="suppressDate" value="true" />
|
|
<!-- remove comments -->
|
|
<property name="suppressAllComments" value="true" />
|
|
</commentGenerator>
|
|
|
|
<!--地址需要改变-->
|
|
<jdbcConnection driverClass="com.mysql.jdbc.Driver"
|
|
connectionURL="jdbc:mysql://localhost:3306/zhkh?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8"
|
|
userId="root" password="root" />
|
|
|
|
<!-- java type resolver -->
|
|
<javaTypeResolver>
|
|
<property name="forceBigDecimals" value="false" />
|
|
</javaTypeResolver>
|
|
|
|
<!-- gem entity实体 -->
|
|
<!-- data -->
|
|
<javaModelGenerator targetPackage="com.lan.couponapp.domain"
|
|
targetProject="./src/test/java">
|
|
<property name="enableSubPackages" value="true" />
|
|
<property name="trimStrings" value="false" />
|
|
</javaModelGenerator>
|
|
<!-- //////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
|
|
<!-- gem annotated mapper -->
|
|
<!-- data -->
|
|
<javaClientGenerator type="ANNOTATEDMAPPER"
|
|
targetPackage="com.lan.couponapp.mapper"
|
|
targetProject="./src/test/java">
|
|
<property name="enableSubPackages" value="true" />
|
|
</javaClientGenerator>
|
|
|
|
<table tableName="assessment_evaluation">
|
|
<generatedKey column="id" sqlStatement="JDBC"/>
|
|
</table>
|
|
|
|
</context>
|
|
</generatorConfiguration> |