提交 d766c9c6 编写于 作者: F fengyw

优化配置

上级 092d6dba
......@@ -37,7 +37,7 @@
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.28</version>
<version>8.0.33</version>
<scope>runtime</scope>
</dependency>
......
......@@ -34,7 +34,7 @@ public class ConfigUtil {
/**
* 数据库类名 class
**/
public final static String dbClass = "com.mysql.jdbc.Driver";
public final static String dbClass = "com.mysql.cj.jdbc.Driver";
/**
* 数据库链接 url
**/
......
......@@ -3,7 +3,7 @@ db.url=jdbc:mysql://10.65.3.98:3306/os_course?useUnicode=true&characterEncoding=
db.username=roncoo
db.password=RonCoo.123
author=wujing
projectPath=D:/ws-zopens/roncoo-education/roncoo-education-course
projectPath=D:/ws-opens/roncoo-education/roncoo-education-course
projectName=roncoo-education-course-service
packagePrefix=com.roncoo.education
packageName=course
......@@ -12,7 +12,7 @@ tableNames=resource
#db.username=roncoo
#db.password=RonCoo.123
#author=wujing
#projectPath=D:/ws-zopens/roncoo-education/roncoo-education-system
#projectPath=D:/ws-opens/roncoo-education/roncoo-education-system
#projectName=roncoo-education-system-service
#packagePrefix=com.roncoo.education
#packageName=system
......@@ -21,7 +21,7 @@ tableNames=resource
#db.username=roncoo
#db.password=RonCoo.123
#author=wujing
#projectPath=D:/ws-zopens/roncoo-education/roncoo-education-user
#projectPath=D:/ws-opens/roncoo-education/roncoo-education-user
#projectName=roncoo-education-user-service
#packagePrefix=com.roncoo.education
#packageName=user
......
......@@ -47,11 +47,12 @@
<!-- %代表生成全部的表 -->
<!-- <table tableName="%" />-->
<table tableName="${tableNames}"/>
<!-- tableName=表名;domainObjectName=生成的实体名;column为你需要覆盖的数据库字段-->
<!-- <table tableName="${tableNames}" domainObjectName="WholeProcesssMark">-->
<!-- <columnOverride column="src_url" jdbcType="VARCHAR" />-->
<!-- <columnOverride column="mark_content" jdbcType="VARCHAR" />-->
<!-- </table>-->
<!--<table tableName="${tableNames}"/>-->
<!--tableName=表名;domainObjectName=生成的实体名;column为你需要覆盖的数据库字段-->
<table tableName="${tableNames}">
<columnOverride column="mark_content" jdbcType="VARCHAR" />
</table>
</context>
</generatorConfiguration>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册