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

互聯網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免费观看 | 国产高清美女一级a毛片久久 | 日韩精品一区二区三区四区 | 天天操天天射天天操 | 在线播放第一页 | 中文字幕网址 | 伊人精品线视天天综合 | 日韩亚洲国产欧美精品 | 在线不卡亚洲 | 国产午夜精品久久理论片小说 | 欧美a在线播放 | 色偷偷人人澡久久天天 | 色狠狠xx| 日韩国产中文字幕 | 国产亚洲精品自在久久77 | 美国黄色一级毛片 | 天天摸夜夜摸爽爽狠狠婷婷97 | 国产无遮挡又爽又色又刺激 | 黄在线免费 | 国产精品青草久久 | 日本免费小视频 | 亚洲一区色| 欧美激情一区二区三区 | 日韩精品一区二区三区中文3d | 黄色视屏在线 | 精品一区二区三区在线观看视频 | 国产综合在线视频 | 欧美日韩一区二区在线观看 | 亚洲三级黄色 | 国产欧美在线观看 | 久草欧美 | 午夜伦理宅宅235 | 全免费a级毛片免费看 | 欧美任你躁免费精品一区 | 国产精品美女视视频专区 | 视频一区国产精品 | 激情插插| 黄在线| 久久久999国产精品 久久久99精品 | 九九夜夜 |