# eolinker4.0
**Repository Path**: kit101/eolinker4.0
## Basic Information
- **Project Name**: eolinker4.0
- **Description**: https://github.com/liangjian2556/eoLinker-AMS-Lite-For-Java 旧版4.0开源,中文版
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 23
- **Created**: 2021-10-11
- **Last Updated**: 2021-10-11
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# eolinker4.0
#### 介绍
https://github.com/liangjian2556/eoLinker-AMS-Lite-For-Java 旧版4.0开源,中文版
#### 数据库支持说明
此版本仅支持 `mysql5.x`,若需使用`mysql8`需要修改源码
##### 1. pom.xml
```xml
...
...
8.0.20
...
...
```
##### 2. application.properties
```properties
...
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
...
```
##### 3. com.eolinker.util.DbUtil
3.1. 修改className
```java
// 多处对className赋值
this.className = "com.mysql.cj.jdbc.Driver"
```
或者使用hutool读取`application.properties`中`spring.datasource.driver-class-name`, 在pom.xml中引入hutool
```java
// pom.xml 引入hutool的依赖
cn.hutool
hutool-all
5.7.9
// com.eolinker.util.DbUtil 使用hutoll提供的SpringUtil读取application.properties的值
this.className = SpringUtil.getProperty("spring.datasource.driver-class-name");
```
3.2. 修改dbURL
```java
public DbUtil(String dbURL, String port, String dbName, String dbUser, String dbPassword)
{
...
// 追加 &serverTimezone=GMT指定时区
this.dbURL = "jdbc:mysql://" + dbURL + ":" + port + "/" + dbName + "?characterEncoding=UTF-8&serverTimezone=GMT";
...
}
```
##### 4. backend_source_code/config/setting.properties
```properties
...
# 尾部请追加 &serverTimezone\=GMT
dbURL=jdbc\:mysql\://127.0.0.1\:3306/eolinker_test?characterEncoding\=UTF-8&serverTimezone\=GMT
...
```
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)