1 Star 1 Fork 0

偏锋书生/tams-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
generatorConfig.xml 3.90 KB
一键复制 编辑 原始数据 按行查看 历史
偏锋书生 提交于 2021-10-11 14:55 . 文件上传
<?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>
<classPathEntry
location="D:/greensoft/maven/repo4/mysql/mysql-connector-java/5.1.46/mysql-connector-java-5.1.46.jar" />
<context id="context1" targetRuntime="MyBatis3">
<property name="javaFileEncoding" value="UTF-8"/>
<plugin type="org.mybatis.generator.plugins.MapperConfigPlugin">
<property name="fileName" value="sqlmap-config.xml" />
<property name="targetPackage" value="mybatis.primary" />
<property name="targetProject" value="tams-demo/src/main/resources/" />
</plugin>
<commentGenerator>
<property name="suppressDate" value="true" />
<property name="addRemarkComments" value="true"></property>
</commentGenerator>
<jdbcConnection driverClass="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost:3306/tams" userId="root"
password="mysql" />
<javaTypeResolver>
<property name="forceBigDecimals" value="false" />
</javaTypeResolver>
<!--
<javaModelGenerator targetPackage="com.cntaiping.hammer.database.models"
targetProject="HammerApplication/src/main/java">
<property name="constructorBased" value="true" />
</javaModelGenerator>
<javaModelGenerator targetPackage="com.cntaiping.hammer.center_activity.models"
targetProject="HammerApplication/src/main/java">
<property name="constructorBased" value="true" />
</javaModelGenerator>
-->
<javaModelGenerator targetPackage="net.wicp.tams.app.tams.demo.beans.models"
targetProject="tams-demo/src/main/java">
<property name="constructorBased" value="false" />
</javaModelGenerator>
<sqlMapGenerator targetPackage="mybatis.primary.sqlmap"
targetProject="tams-demo/src/main/resources" />
<!--
<javaClientGenerator targetPackage="com.cntaiping.hammer.database.dao"
targetProject="HammerApplication/src/main/java" type="MIXEDMAPPER" />
<javaClientGenerator targetPackage="com.cntaiping.hammer.center_activity.dao"
targetProject="HammerApplication/src/main/java" type="MIXEDMAPPER" />
-->
<javaClientGenerator targetPackage="net.wicp.tams.app.tams.demo.dao"
targetProject="tams-demo/src/main/java" type="MIXEDMAPPER" />
<!-- 下面是测试用的表,请跟据实际情况替换 -->
<!--
<table tableName="agent"/>
<table tableName="base_node"/>
<table tableName="product_info"/>
<table tableName="base_node_tree"/>
<table tableName="self_product"/>
<table tableName="optionitem"/>
<table tableName="dict_parameter"/>
<table tableName="daily_indicator_">
<ignoreColumn column="winner_node_uids"></ignoreColumn>
<ignoreColumn column="manager_winner_node_uids"></ignoreColumn>
<ignoreColumn column="health_winner_node_uids"></ignoreColumn>
</table>
<table tableName="daily_indicator_average_"/>
<table tableName="daily_indicator_rank_"/>
<table tableName="daily_indicator_product_breakdown"/>
<table tableName="product_indicator"/>
<table tableName="product_indicator_average"/>
-->
<!--
<table tableName="activity"/>
<table tableName="activity_award"/>
<table tableName="activity_award_list"/>
<table tableName="activity_award_record"/>
<table tableName="activity_notice"/>
<table tableName="act_fire_snap">
<ignoreColumn column="removed_contract_uids"></ignoreColumn>
<ignoreColumn column="health_winner_node_uids"></ignoreColumn>
<ignoreColumn column="avail_contract_uids"></ignoreColumn>
</table>
-->
<!--
<table tableName="agent_target_date" catalog="hammer_application_runtime"/>
-->
<!-- <table tableName="sys_%"/>
-->
<table tableName="sys_user"/>
</context>
</generatorConfiguration>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/duckuladev/tams-demo.git
git@gitee.com:duckuladev/tams-demo.git
duckuladev
tams-demo
tams-demo
master

搜索帮助