|
|
<?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 type="com.sztzjy.block_finance.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/tz_finance_supply" userId="root" password="sztzjy2017">
|
|
|
<!-- <property name="nullCatalogMeansCurrent" value="true"/>-->
|
|
|
<property name="useInformationSchema" value="true"/>
|
|
|
</jdbcConnection>
|
|
|
|
|
|
<!-- 配置实体类的位置 -->
|
|
|
<javaModelGenerator targetPackage="com.sztzjy.block_finance.entity" targetProject="BlockFinanceCentral/src/main/java">
|
|
|
<!-- 生成的Java模型是否支持序列化 -->
|
|
|
<property name="enableSubPackages" value="true" />
|
|
|
<property name="trimStrings" value="true" />
|
|
|
</javaModelGenerator>
|
|
|
|
|
|
<!-- 配置Mapper XML文件的位置-->
|
|
|
<sqlMapGenerator targetPackage="mappers" targetProject="BlockFinanceCentral/src/main/resources">
|
|
|
<property name="enableSubPackages" value="true" />
|
|
|
</sqlMapGenerator>
|
|
|
|
|
|
<!-- 配置Mapper接口的位置 -->
|
|
|
<javaClientGenerator type="XMLMAPPER" targetPackage="com.sztzjy.block_finance.mappers" targetProject="BlockFinanceCentral/src/main/java">
|
|
|
<property name="enableSubPackages" value="true" />
|
|
|
</javaClientGenerator>
|
|
|
|
|
|
<!-- 需要生成的表 -->
|
|
|
<!-- <table tableName="stu_redemption_red_packet_record" domainObjectName="StuRedemptionRedPacketRecord" />-->
|
|
|
<!-- <table tableName="stu_learning_assessment" domainObjectName="StuLearningAssessment" />-->
|
|
|
<!-- <table tableName="stu_learning_assessment" domainObjectName="StuLearningAssessment" />-->
|
|
|
<table tableName="stu_join_node" domainObjectName="stuJoinNode" />
|
|
|
|
|
|
|
|
|
<!-- <table tableName="stu_business_bank_asset_info" domainObjectName="StuBusinessBankAssetInfo" />-->
|
|
|
<!-- <table tableName="stu_business_bank_red_packet_info" domainObjectName="StuBusinessBankRedPacketInfo" />-->
|
|
|
<!-- <table tableName="stu_business_product" domainObjectName="StuBusinessProduct" />-->
|
|
|
<!-- <table tableName="stu_business_user_info" domainObjectName="StuBusinessUserInfo" />-->
|
|
|
<!-- <table tableName="stu_central_bank_asset_info" domainObjectName="StuCentralBankAssetInfo" />-->
|
|
|
<!-- <table tableName="stu_central_bank_control_bits" domainObjectName="StuCentralBankControlBits" />-->
|
|
|
<!-- <table tableName="stu_cryptocurrency" domainObjectName="StuCryptocurrency" />-->
|
|
|
<!-- <table tableName="stu_cryptocurrency_transaction_record" domainObjectName="StuCryptocurrencyTransactionRecord" />-->
|
|
|
<!-- <table tableName="stu_digital_currency_exchange_detail" domainObjectName="StuDigitalCurrencyExchangeDetail" />-->
|
|
|
<!-- <table tableName="stu_digital_wallet_activation_record" domainObjectName="StuDigitalWalletActivationRecord" />-->
|
|
|
<!-- <table tableName="stu_evaluation" domainObjectName="StuEvaluation" />-->
|
|
|
<!-- <table tableName="stu_knowledge_notes" domainObjectName="StuKnowledgeNotes" />-->
|
|
|
<!-- <table tableName="stu_concept_navigation" domainObjectName="StuConceptNavigation" />-->
|
|
|
<!-- <table tableName="stu_hash_encryption_task" domainObjectName="StuHashEncryptionTask" />-->
|
|
|
<!-- <table tableName="stu_blockchain_technology_consensus" domainObjectName="StuBlockchainTechnologyConsensus" />-->
|
|
|
<!-- <table tableName="admin_excel_error_message" domainObjectName="AdminExcelErrorMessage" />-->
|
|
|
<!-- <table tableName="stu_role" domainObjectName="StuRole" />-->
|
|
|
<!-- <table tableName="stu_role_route" domainObjectName="StuRoleRoute" />-->
|
|
|
<!-- <table tableName="stu_meta" domainObjectName="StuMeta" />-->
|
|
|
|
|
|
<!-- <table tableName="stu_hash_training_signature" domainObjectName="StuHashTrainingSignature" />-->
|
|
|
<!-- <table tableName="stu_knowledge_summary" domainObjectName="StuKnowledgeSummary" />-->
|
|
|
<!-- <table tableName="stu_personal_red_packet_record" domainObjectName="StuPersonalRedPacketRecord" />-->
|
|
|
<!-- <table tableName="stu_personal_user_info" domainObjectName="StuPersonalUserInfo" />-->
|
|
|
<!-- <table tableName="stu_practical_training" domainObjectName="StuPracticalTraining" />-->
|
|
|
<!-- <table tableName="stu_practical_training_task" domainObjectName="StuPracticalTrainingTask" />-->
|
|
|
<!-- <table tableName="stu_product_transaction_record" domainObjectName="StuProductTransactionRecord" />-->
|
|
|
<!-- <table tableName="stu_redemption_red_packet_record" domainObjectName="StuRedemptionRedPacketRecord" />-->
|
|
|
<!-- <table tableName="stu_resources" domainObjectName="StuResources" />-->
|
|
|
<!-- <table tableName="stu_score_details" domainObjectName="StuScoreDetails" />-->
|
|
|
<!-- <table tableName="stu_user" domainObjectName="StuUser" />-->
|
|
|
<!-- <table tableName="stu_wallet_level" domainObjectName="StuWalletLevel" />-->
|
|
|
</context>
|
|
|
|
|
|
|
|
|
</generatorConfiguration> |