黄色网址大全免费-黄色网址你懂得-黄色网址你懂的-黄色网址有那些-免费超爽视频-免费大片黄国产在线观看

互聯網P2P金融項目
互聯網P2P金融項目架構搭建
互聯網P2P金融項目業務功能

MyBatis逆向工程

插件

存放在項目根目錄下

<!--mybatis代碼自動生成插件-->
<plugin>
   <groupId>org.mybatis.generator</groupId>
   <artifactId>mybatis-generator-maven-plugin</artifactId>
   <version>1.3.6</version>
   <configuration>
      <!--配置文件的位置-->
      <configurationFile>GeneratorMapper.xml</configurationFile>
      <verbose>true</verbose>
      <overwrite>true</overwrite>
   </configuration>
</plugin>

配置文件

<?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>

    <!-- 指定連接數據庫的JDBC驅動包所在位置,指定到你本機的完整路徑 -->
    <classPathEntry location="E:/repository-p2p/mysql/mysql-connector-java/5.1.43/mysql-connector-java-5.1.43.jar"/>

    <!-- 配置table表信息內容體,targetRuntime指定采用MyBatis3的版本 -->
    <context id="tables" targetRuntime="MyBatis3">

        <!-- 抑制生成注釋,由于生成的注釋都是英文的,可以不讓它生成 -->
        <commentGenerator>
            <property name="suppressAllComments" value="true"/>
        </commentGenerator>

        <!-- 配置數據庫連接信息 -->
        <jdbcConnection driverClass="com.mysql.jdbc.Driver"
                        connectionURL="jdbc:mysql://192.168.44.100:3306/p2p"
                        userId="root"
                        password="123456">
        </jdbcConnection>

        <!-- 生成model類,targetPackage指定model類的包名, targetProject指定生成的model放在eclipse的哪個工程下面-->
        <javaModelGenerator targetPackage="com.ant.p2p.model" targetProject="E:/course/projects/26-P2P-SpringBoot/p2p-exterface/src/main/java">
            <property name="enableSubPackages" value="false"/>
            <property name="trimStrings" value="false"/>
        </javaModelGenerator>

        <!-- 生成MyBatis的Mapper.xml文件,targetPackage指定mapper.xml文件的包名, targetProject指定生成的mapper.xml放在eclipse的哪個工程下面 -->
        <sqlMapGenerator targetPackage="com.ant.p2p.mapper"
                         targetProject="E:/course/projects/26-P2P-SpringBoot/p2p-dataservice/src/main/java">
            <property name="enableSubPackages" value="false"/>
        </sqlMapGenerator>

        <!-- 生成MyBatis的Mapper接口類文件,targetPackage指定Mapper接口類的包名, targetProject指定生成的Mapper接口放在eclipse的哪個工程下面 -->
        <javaClientGenerator type="XMLMAPPER" targetPackage="com.ant.p2p.mapper"
                             targetProject="E:/course/projects/26-P2P-SpringBoot/p2p-dataservice/src/main/java">
            <property name="enableSubPackages" value="false"/>
        </javaClientGenerator>

        <!-- 數據庫表名及對應的Java模型類名 -->
        <table tableName="b_loan_info" domainObjectName="LoanInfo"
               enableCountByExample="false"
               enableUpdateByExample="false"
               enableDeleteByExample="false"
               enableSelectByExample="false"
               selectByExampleQueryId="false"/>

        <table tableName="b_bid_info" domainObjectName="BidInfo"
               enableCountByExample="false"
               enableUpdateByExample="false"
               enableDeleteByExample="false"
               enableSelectByExample="false"
               selectByExampleQueryId="false"/>


        <table tableName="b_income_record" domainObjectName="IncomeRecord"
               enableCountByExample="false"
               enableUpdateByExample="false"
               enableDeleteByExample="false"
               enableSelectByExample="false"
               selectByExampleQueryId="false"/>


        <table tableName="b_recharge_record" domainObjectName="RechargeRecord"
               enableCountByExample="false"
               enableUpdateByExample="false"
               enableDeleteByExample="false"
               enableSelectByExample="false"
               selectByExampleQueryId="false"/>


        <table tableName="u_user" domainObjectName="User"
               enableCountByExample="false"
               enableUpdateByExample="false"
               enableDeleteByExample="false"
               enableSelectByExample="false"
               selectByExampleQueryId="false"/>


        <table tableName="u_finance_account" domainObjectName="FinanceAccount"
               enableCountByExample="false"
               enableUpdateByExample="false"
               enableDeleteByExample="false"
               enableSelectByExample="false"
               selectByExampleQueryId="false"/>

    </context>

</generatorConfiguration>

 

全部教程
主站蜘蛛池模板: 天堂成人精品视频在线观 | 久久久国产精品免费 | 精品福利在线观看 | 午夜性刺激免费视频 | 在线不卡国产 | 色久在线 | 日皮黄色 | 一级特黄录像免费播放肥 | 又猛又黄又爽无遮挡的视频网站 | 日韩一级精品视频在线观看 | 日韩亚洲综合精品国产 | 欧美精品成人a多人在线观看 | 久久亚洲国产伦理 | 天天综合天天做 | 亚洲字幕久久 | 日韩在线视频二区 | 欧美成狂野欧美在线观看 | 久久笫一福利免费导航 | 狠狠操天天射 | 天堂资源网 | 欧美日本免费观看αv片 | 99re热久久这里只有精品6 | 天天在线欧美精品免费看 | 久久艹精品| 国产精品亚洲日日摸夜夜添 | 男人的天堂免费视频 | 国产一线大片免费观看 | 国产精品精品国产一区二区 | 在线观看老湿视频福利 | 韩国在线观看免费观看影院 | 免费一级成人免费观看 | 成人一级 | 91人前露出精品国产 | 亚欧精品在线观看 | 午夜私人影院免费体验区 | 国产乱理伦片在线看 | 91久久99热青草国产 | 一个人看的www免费视频中文 | 黄色一级免费大片 | 8x福利精品第一福利视频导航 | 国产丝袜视频在线观看 |