大战熟女丰满人妻av-荡女精品导航-岛国aaaa级午夜福利片-岛国av动作片在线观看-岛国av无码免费无禁网站-岛国大片激情做爰视频

互聯網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>

 

全部教程
主站蜘蛛池模板: 五月天精品 | 亚洲一区二区三区麻豆 | 真实国产精品视频国产网 | 久久99热这里只有精品免费看 | 亚洲精品日本一区二区在线 | 2020国产成人精品视频人 | 裸身裸乳免费视频网站 | 亚洲国产aaa毛片无费看 | 日韩欧美中 | 欧美理论在线 | 亚洲成a人 | 成人毛片18女人毛片 | 亚洲国产精品久久久天堂 | 欧美一区二区视频 | 精品久久久久中文字幕日本 | 天天干天天爽 | 日韩亚射 | 奇米影音777 | 青草视频.com| 成年女人毛片免费播放人 | 伊人这里只有精品 | 欧美大成色www永久网站 | 亚洲伊人tv综合网色 | 日韩一区二区视频 | 国产精品香蕉在线观看首页 | ww欧美| 全免费午夜一级毛片一级毛 | 香蕉久久高清国产精品免费 | 一级欧美在线的视频 | 欧美日本黄色 | 色视频在线免费观看 | 婷婷综合另类小说色区 | 五月激情丁香婷婷综合第九 | 亚洲韩精品欧美一区二区三区 | 99久久免费国产特黄 | 99视频有精品 | 美国一级毛片免费看成人 | 免费看国产一级特黄aa大片 | 国内精品久久久久影院免费 | 强制高潮18xxxxhd日韩 | 国产欧美视频一区二区三区 |