|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
<!-- <property name="suppressAllComments" value="true"/>-->
|
|
|
|
|
<!-- </commentGenerator>-->
|
|
|
|
|
<!-- type值为自定义的MyCommentGenerator-->
|
|
|
|
|
<commentGenerator type="com.sztzjy.financial_bigdata.util.MyCommentGenerator">
|
|
|
|
|
<commentGenerator type="com.sztzjy.money_management.util.MyCommentGenerator">
|
|
|
|
|
<!-- 是否去除自动生成的注释 true:是 : false:否 -->
|
|
|
|
|
<property name="suppressAllComments" value="false"/>
|
|
|
|
|
<property name="suppressDate" value="false"/>
|
|
|
|
@ -18,14 +18,14 @@
|
|
|
|
|
|
|
|
|
|
<!-- 配置数据库连接信息 -->
|
|
|
|
|
<jdbcConnection driverClass="com.mysql.cj.jdbc.Driver"
|
|
|
|
|
connectionURL="jdbc:mysql://118.31.7.2:3306/financial_bigdata" userId="root"
|
|
|
|
|
connectionURL="jdbc:mysql://118.31.7.2:3306/money_management" userId="root"
|
|
|
|
|
password="sztzjy2017">
|
|
|
|
|
<property name="useInformationSchema" value="true"/> <!--useInformationSchema 实体类上添加数据表的注释 -->
|
|
|
|
|
<!--解决mysql驱动升级到8.0后不生成指定数据库代码的问题-->
|
|
|
|
|
<property name="nullCatalogMeansCurrent" value="true" />
|
|
|
|
|
<property name="nullCatalogMeansCurrent" value="true"/>
|
|
|
|
|
</jdbcConnection>
|
|
|
|
|
<!-- 配置实体类的位置 -->
|
|
|
|
|
<javaModelGenerator targetPackage="com.sztzjy.financial_bigdata.entity" targetProject="src/main/java">
|
|
|
|
|
<javaModelGenerator targetPackage="com.sztzjy.money_management.entity" targetProject="src/main/java">
|
|
|
|
|
<!-- 生成的Java模型是否支持序列化 -->
|
|
|
|
|
<property name="enableSubPackages" value="true"/>
|
|
|
|
|
<property name="trimStrings" value="true"/>
|
|
|
|
@ -37,29 +37,12 @@
|
|
|
|
|
</sqlMapGenerator>
|
|
|
|
|
|
|
|
|
|
<!-- 配置Mapper接口的位置 -->
|
|
|
|
|
<javaClientGenerator type="XMLMAPPER" targetPackage="com.sztzjy.financial_bigdata.mapper"
|
|
|
|
|
<javaClientGenerator type="XMLMAPPER" targetPackage="com.sztzjy.money_management.mapper"
|
|
|
|
|
targetProject="src/main/java">
|
|
|
|
|
<property name="enableSubPackages" value="true"/>
|
|
|
|
|
</javaClientGenerator>
|
|
|
|
|
<!-- 需要生成的表 -->
|
|
|
|
|
<!-- <table tableName="stu_class" domainObjectName="StuClass" />-->
|
|
|
|
|
<!-- <table tableName="stu_error" domainObjectName="StuError" />-->
|
|
|
|
|
<!-- <table tableName="stu_exam_case" domainObjectName="StuExamCase" />-->
|
|
|
|
|
<!-- <table tableName="stu_student_exam" domainObjectName="StuStudentExam" />-->
|
|
|
|
|
<!-- <table tableName="stu_theory_exam" domainObjectName="StuTheoryExam" />-->
|
|
|
|
|
<!-- <table tableName="stu_theory_record" domainObjectName="StuTheoryRecord" />-->
|
|
|
|
|
<!-- <table tableName="stu_training" domainObjectName="StuTraining" />-->
|
|
|
|
|
<!-- <table tableName="stu_userinfo" domainObjectName="StuUser" />-->
|
|
|
|
|
<!-- <table tableName="sys_case_question_bank" domainObjectName="SysCaseQuestionBank" />-->
|
|
|
|
|
<!-- <table tableName="sys_course" domainObjectName="SysCourse" />-->
|
|
|
|
|
<!-- <table tableName="sys_course_chapter" domainObjectName="SysCourseChapter" />-->
|
|
|
|
|
<!-- <table tableName="sys_log" domainObjectName="SysLog" />-->
|
|
|
|
|
<!-- <table tableName="sys_objective_question" domainObjectName="SysObjectiveQuestion" />-->
|
|
|
|
|
<!-- <table tableName="tea_exam_manage" domainObjectName="TeaExamManage" />-->
|
|
|
|
|
<!-- <table tableName="tea_learning_statistics" domainObjectName="TeaLearningStatistics" />-->
|
|
|
|
|
<!-- <table tableName="tea_resource_center" domainObjectName="TeaResourceCenter" />-->
|
|
|
|
|
<!-- <table tableName="training_report" domainObjectName="TrainingReport" />-->
|
|
|
|
|
<table tableName="sys_case_question" domainObjectName="SysCaseQuestion" />
|
|
|
|
|
<table tableName="sys_case_question" domainObjectName="SysCaseQuestion"/>
|
|
|
|
|
</context>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|