|
|
<?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="DB2Tables" targetRuntime="MyBatis3">
|
|
|
<!-- <commentGenerator>-->
|
|
|
<!-- <property name="suppressAllComments" value="true"/>-->
|
|
|
<!-- </commentGenerator>-->
|
|
|
<!-- type值为自定义的MyCommentGenerator-->
|
|
|
<commentGenerator type="com.sztzjy.fund_investment.util.MyCommentGenerator">
|
|
|
<!-- 是否去除自动生成的注释 true:是 : false:否 -->
|
|
|
<property name="suppressAllComments" value="false"/>
|
|
|
<property name="suppressDate" value="false"/>
|
|
|
<!-- 是否添加数据表中字段的注释 true:是 : false:否 -->
|
|
|
<property name="addRemarkComments" value="true"/>
|
|
|
</commentGenerator>
|
|
|
|
|
|
<!-- 配置数据库连接信息 -->
|
|
|
<jdbcConnection driverClass="com.mysql.cj.jdbc.Driver"
|
|
|
connectionURL="jdbc:mysql://118.31.7.2:3306/fund_investment" userId="root"
|
|
|
password="sztzjy2017">
|
|
|
<property name="useInformationSchema" value="true"/> <!--useInformationSchema 实体类上添加数据表的注释 -->
|
|
|
</jdbcConnection>
|
|
|
<!-- 配置实体类的位置 -->
|
|
|
<javaModelGenerator targetPackage="com.sztzjy.fund_investment.entity" targetProject="src/main/java">
|
|
|
<!-- 生成的Java模型是否支持序列化 -->
|
|
|
<property name="enableSubPackages" value="true"/>
|
|
|
<property name="trimStrings" value="true"/>
|
|
|
</javaModelGenerator>
|
|
|
|
|
|
<!-- 配置Mapper XML文件的位置-->
|
|
|
<sqlMapGenerator targetPackage="mappers" targetProject="src/main/resources">
|
|
|
<property name="enableSubPackages" value="true"/>
|
|
|
</sqlMapGenerator>
|
|
|
|
|
|
<!-- 配置Mapper接口的位置 -->
|
|
|
<javaClientGenerator type="XMLMAPPER" targetPackage="com.sztzjy.fund_investment.mapper"
|
|
|
targetProject="src/main/java">
|
|
|
<property name="enableSubPackages" value="true"/>
|
|
|
</javaClientGenerator>
|
|
|
|
|
|
<!-- 需要生成的表 -->
|
|
|
<!-- <table tableName="allotment_object" domainObjectName="AllotmentObject" />-->
|
|
|
<!-- <table tableName="flow" domainObjectName="Flow" />-->
|
|
|
<!-- <table tableName="fundraising" domainObjectName="Fundraising" />-->
|
|
|
<!-- <table tableName="inquiry_participation" domainObjectName="InquiryParticipation" />-->
|
|
|
<!-- <table tableName="issuance_info" domainObjectName="IssuanceInfo" />-->
|
|
|
<!-- <table tableName="issuance_parameter_input" domainObjectName="IssuanceParameterInput" />-->
|
|
|
<!-- <table tableName="performance_score" domainObjectName="PerformanceScore" />-->
|
|
|
<!-- <table tableName="tea_class_score" domainObjectName="TeaClassScore" />-->
|
|
|
<!-- <table tableName="profit_distribution" domainObjectName="ProfitDistribution" />-->
|
|
|
<!-- <table tableName="profit_management" domainObjectName="ProfitManagement" />-->
|
|
|
<!-- <table tableName="exit_time" domainObjectName="ExitTime" />-->
|
|
|
<!-- <table tableName="question_answer" domainObjectName="QuestionAnswer" />-->
|
|
|
<!-- <table tableName="sys_topics" domainObjectName="Topics" />-->
|
|
|
<!-- <table tableName="topic_record" domainObjectName="TopicRecord" />-->
|
|
|
<!-- <table tableName="found_project" domainObjectName="FoundProject" />-->
|
|
|
<!-- <table tableName="training_report" domainObjectName="TrainingReport" />-->
|
|
|
<!-- <table tableName="user_table" domainObjectName="UserTable" />-->
|
|
|
<!-- <table tableName="project_pool" domainObjectName="ProjectPool" />-->
|
|
|
<!-- <table tableName="found_project" domainObjectName="FoundProject" />-->
|
|
|
<!-- <table tableName="pro_admini_penalty" domainObjectName="ProAdminiPenalty" />-->
|
|
|
<!-- <table tableName="pro_business_risk" domainObjectName="ProBusinessRisk" />-->
|
|
|
<!-- <table tableName="pro_business_info" domainObjectName="ProBusinessInfo" />-->
|
|
|
<!-- <table tableName="pro_businessInfo_shareholder" domainObjectName="ProBusinessInfoShareholder" />-->
|
|
|
<!-- <table tableName="pro_core_business" domainObjectName="ProCoreBusiness" />-->
|
|
|
<!-- <table tableName="pro_core_comp_pro" domainObjectName="ProCoreCompPro" />-->
|
|
|
<!-- <table tableName="pro_core_team" domainObjectName="ProCoreTeam" />-->
|
|
|
<!-- <table tableName="pro_financial_index" domainObjectName="ProFinancialIndex" />-->
|
|
|
<!-- <table tableName="pro_financial_index_detail" domainObjectName="ProFinancialIndexDetail" />-->
|
|
|
<!-- <table tableName="pro_financial_index_detail_user" domainObjectName="ProFinancialIndexDetailUser" />-->
|
|
|
<!-- <table tableName="pro_financial_statement" domainObjectName="ProFinancialStatement" />-->
|
|
|
<!-- <table tableName="pro_financial_statement_detail" domainObjectName="ProFinancialStatementDetail" />-->
|
|
|
<!-- <table tableName="pro_Intel_property_patentinfo" domainObjectName="ProIntelPropertyPatentinfo" />-->
|
|
|
<!-- <table tableName="pro_intel_property_website_record" domainObjectName="ProIntelPropertyWebsiteRecord" />-->
|
|
|
<!-- <table tableName="pro_judicial_risk" domainObjectName="ProJudicialRisk" />-->
|
|
|
<!-- <table tableName="pro_mana_situ_check" domainObjectName="ProManaSituCheck" />-->
|
|
|
<!-- <table tableName="pro_mana_situ_license" domainObjectName="ProManaSituLicense" />-->
|
|
|
<!-- <table tableName="pro_mana_situ_recruit" domainObjectName="ProManaSituRecruit" />-->
|
|
|
<!-- <table tableName="pro_mana_situ_tendering_bidding" domainObjectName="ProManaSituTenderingBidding" />-->
|
|
|
<!-- <table tableName="pro_mana_situ_license" domainObjectName="ProManaSituLicense" />-->
|
|
|
<!-- <table tableName="pro_mana_situ_license" domainObjectName="ProManaSituLicense" />-->
|
|
|
<!-- <table tableName="pro_mana_situ_license" domainObjectName="ProManaSituLicense" />-->
|
|
|
<!-- <table tableName="edu_company" domainObjectName="EduCompany" />-->
|
|
|
<!-- <table tableName="edu_project_valuation" domainObjectName="EduProjectValuation" />-->
|
|
|
<!-- <table tableName="edu_project_valuation_answer" domainObjectName="EduProjectValuationAnswer" />-->
|
|
|
<!-- <table tableName="wx_user" domainObjectName="User" />-->
|
|
|
<!-- <table tableName="edu_fcff" domainObjectName="EduFCFF" />-->
|
|
|
<!-- <table tableName="edu_ddm" domainObjectName="EduDDM" />-->
|
|
|
<!-- <table tableName="edu_fcfe" domainObjectName="EduFCFE" />-->
|
|
|
<!-- <table tableName="sys_login_log" domainObjectName="SysLoginLog" />-->
|
|
|
<table tableName="ip_log" domainObjectName="IpLog" />
|
|
|
<!-- <table tableName="sys_log_test" domainObjectName="SysLogTest" />-->
|
|
|
</context>
|
|
|
|
|
|
|
|
|
</generatorConfiguration> |