2 Star 1 Fork 0

石大软件开发部/physicalmanage

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mbg.xml 3.72 KB
一键复制 编辑 原始数据 按行查看 历史
Dysphoria 提交于 2017-12-22 21:03 . 测试
<?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>
<!-- 取消注释 -->
<property name="suppressAllComments" value="true"/>
</commentGenerator>
<!-- 配置数据库连接信息 -->
<jdbcConnection
driverClass="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost:3306/physical"
userId="root"
password="">
</jdbcConnection>
<javaTypeResolver >
<property name="forceBigDecimals" value="false" />
</javaTypeResolver>
<!-- 指定javaBean生成的位置 -->
<javaModelGenerator
targetPackage="com.shzu.jwc.ty.bean"
targetProject=".\src\main\java">
<property name="enableSubPackages" value="true" />
<property name="trimStrings" value="true" />
</javaModelGenerator>
<!-- 指定sql映射文件生成的位置 -->
<sqlMapGenerator
targetPackage="mapper"
targetProject=".\src\main\resources">
<property name="enableSubPackages" value="true" />
</sqlMapGenerator>
<!-- 指定dao接口生成的位置,mapper接口 -->
<javaClientGenerator type="XMLMAPPER"
targetPackage="com.shzu.jwc.ty.dao"
targetProject=".\src\main\java">
<property name="enableSubPackages" value="true" />
</javaClientGenerator>
<!-- table指定每个表的生成策略 -->
<table tableName="judge_problem" domainObjectName="JudgeProblem">
<columnOverride column="judge_problem_title" javaType="java.lang.String" jdbcType="VARCHAR" />
</table>
<!--
<table tableName="problem_class" domainObjectName="ProblemClass"></table>
<table tableName="select_problem" domainObjectName="SelectProblem">
<columnOverride column="select_problem_title" javaType="java.lang.String" jdbcType="VARCHAR" />
<columnOverride column="select_problem_option1" javaType="java.lang.String" jdbcType="VARCHAR" />
<columnOverride column="select_problem_option2" javaType="java.lang.String" jdbcType="VARCHAR" />
<columnOverride column="select_problem_option3" javaType="java.lang.String" jdbcType="VARCHAR" />
<columnOverride column="select_problem_option4" javaType="java.lang.String" jdbcType="VARCHAR" />
</table>
<table tableName="paper_model" domainObjectName="PaperModel"></table>
<table tableName="pe_class" domainObjectName="PeClass"></table>
<table tableName="pe_examination" domainObjectName="PeExamination">
<columnOverride column="pe_examination_invigilator" javaType="java.lang.String" jdbcType="VARCHAR" />
<columnOverride column="pe_examination_ask" javaType="java.lang.String" jdbcType="VARCHAR" />
</table>
<table tableName="pe_exam_appointment" domainObjectName="PeExamAppointment"></table>
<table tableName="pe_test" domainObjectName="PeTest">
<columnOverride column="pe_test_invigilator" javaType="java.lang.String" jdbcType="VARCHAR" />
<columnOverride column="pe_test_ask" javaType="java.lang.String" jdbcType="VARCHAR" />
</table>
<table tableName="pe_test_appointment" domainObjectName="PeTestAppointment"></table>
<table tableName="test_assembly" domainObjectName="TestAssembly"></table>
<table tableName="theoretical_examination" domainObjectName="TheoreticalExamination">
<columnOverride column="theoretical_examination_ask" javaType="java.lang.String" jdbcType="VARCHAR" />
<columnOverride column="theoretical_examination_invigilator" javaType="java.lang.String" jdbcType="VARCHAR" />
</table>
<table tableName="user_exam_info" domainObjectName="UserExamInfo"></table>
<table tableName="year" domainObjectName="Year"></table>-->
</context>
</generatorConfiguration>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/shzurk/physicalmanage.git
git@gitee.com:shzurk/physicalmanage.git
shzurk
physicalmanage
physicalmanage
master

搜索帮助