<!--<?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>
|
<!-- 数据库驱动:选择你的本地硬盘上面的数据库驱动包-->
|
<!-- <classPathEntry location="C:\Users\feiyu\.m2\repository\mysql\mysql-connector-java\8.0.21\mysql-connector-java-8.0.21.jar"/>-->
|
<classPathEntry location="C:\Users\feiyu02\.m2\repository\mysql\mysql-connector-java\8.0.21\mysql-connector-java-8.0.21.jar"/>
|
<context id="DB2Tables" targetRuntime="MyBatis3" defaultModelType="flat">
|
<!-- TKmybatis配置 -->
|
<property name="javaFileEncoding" value="UTF-8"/>
|
<property name="beginningDelimiter" value="`"/>
|
<property name="endingDelimiter" value="`"/>
|
<plugin type="${mapper.plugin}">
|
<property name="mappers" value="${mapper.Mapper}"/>
|
</plugin>
|
<commentGenerator>
|
<property name="suppressDate" value="true"/>
|
<!-- 是否去除自动生成的注释 true:是 : false:否 -->
|
<property name="suppressAllComments" value="true"/>
|
</commentGenerator>
|
<!--数据库链接URL,用户名、密码 -->
|
<jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://114.215.109.124:3306/fume?serverTimezone=Asia/Shanghai"
|
userId="fumeRemote"
|
password="feiyu2023">
|
</jdbcConnection>
|
<javaTypeResolver>
|
<property name="forceBigDecimals" value="false"/>
|
</javaTypeResolver>
|
<!-- 生成模型的包名和位置-->
|
<javaModelGenerator targetPackage="cn.flightfeather.supervision.domain.ds3.entity"
|
targetProject="src/main/kotlin">
|
<property name="enableSubPackages" value="true"/>
|
<property name="trimStrings" value="true"/>
|
</javaModelGenerator>
|
<!-- 生成映射文件的包名和位置-->
|
<sqlMapGenerator targetPackage="ds3" targetProject="src/main/resources/mapper">
|
<property name="enableSubPackages" value="true"/>
|
</sqlMapGenerator>
|
<!-- 生成DAO的包名和位置-->
|
<javaClientGenerator type="XMLMAPPER" targetPackage="cn.flightfeather.supervision.domain.ds3.mapper"
|
targetProject="src/main/kotlin">
|
<property name="enableSubPackages" value="true"/>
|
</javaClientGenerator>
|
<!-- 要生成的表 tableName是数据库中的表名或视图名 domainObjectName是实体类名-->
|
<!-- <table tableName="fm_web_analysis_data" domainObjectName="FumeDailyAnalysis" enableCountByExample="false"-->
|
<!-- enableUpdateByExample="false" enableDeleteByExample="false"-->
|
<!-- enableSelectByExample="false" selectByExampleQueryId="false"/>-->
|
<!-- <table tableName="fu_xh_t_site_map" domainObjectName="FumeSiteMap" enableCountByExample="false"-->
|
<!-- enableUpdateByExample="false" enableDeleteByExample="false"-->
|
<!-- enableSelectByExample="false" selectByExampleQueryId="false"/>-->
|
<table tableName="abnormal_data" domainObjectName="FumeExceptionData" enableCountByExample="false"
|
enableUpdateByExample="false" enableDeleteByExample="false"
|
enableSelectByExample="false" selectByExampleQueryId="false"/>
|
<!-- <table tableName="ja_t_dust_site_data_info" domainObjectName="JSDustData" enableCountByExample="false"-->
|
<!-- enableUpdateByExample="false" enableDeleteByExample="false"-->
|
<!-- enableSelectByExample="false" selectByExampleQueryId="false"/>-->
|
<!-- <table tableName="du_js_t_site_map" domainObjectName="JSDustSiteMap" enableCountByExample="false"-->
|
<!-- enableUpdateByExample="false" enableDeleteByExample="false"-->
|
<!-- enableSelectByExample="false" selectByExampleQueryId="false"/>-->
|
</context>
|
</generatorConfiguration>
|