diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml
index 17e1cb508..74f52736f 100644
--- a/yudao-dependencies/pom.xml
+++ b/yudao-dependencies/pom.xml
@@ -31,6 +31,7 @@
3.6.1
1.4.5
3.18.0
+ 0.3.2
8.1.2.141
@@ -287,6 +288,24 @@
${revision}
+
+ cn.iocoder.cloud
+ yudao-spring-boot-starter-clickhouse
+ ${revision}
+
+
+
+ org.redisson
+ redisson-spring-boot-starter
+ ${redisson.version}
+
+
+
+ ru.yandex.clickhouse
+ clickhouse-jdbc
+ ${clickhouse.version}
+
+
org.redisson
redisson-spring-boot-starter
diff --git a/yudao-framework/pom.xml b/yudao-framework/pom.xml
index c2e7d6123..594948931 100644
--- a/yudao-framework/pom.xml
+++ b/yudao-framework/pom.xml
@@ -15,6 +15,7 @@
yudao-spring-boot-starter-banner
yudao-spring-boot-starter-mybatis
yudao-spring-boot-starter-redis
+ yudao-spring-boot-starter-clickhouse
yudao-spring-boot-starter-web
yudao-spring-boot-starter-security
@@ -26,6 +27,7 @@
yudao-spring-boot-starter-mq
yudao-spring-boot-starter-rpc
+
yudao-spring-boot-starter-excel
yudao-spring-boot-starter-test
@@ -44,6 +46,7 @@
yudao-spring-boot-starter-flowable
yudao-spring-boot-starter-captcha
yudao-spring-boot-starter-desensitize
+ yudao-spring-boot-starter-clickhouse
yudao-framework
diff --git a/yudao-framework/yudao-spring-boot-starter-clickhouse/.gitignore b/yudao-framework/yudao-spring-boot-starter-clickhouse/.gitignore
new file mode 100644
index 000000000..5ff6309b7
--- /dev/null
+++ b/yudao-framework/yudao-spring-boot-starter-clickhouse/.gitignore
@@ -0,0 +1,38 @@
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### IntelliJ IDEA ###
+.idea/modules.xml
+.idea/jarRepositories.xml
+.idea/compiler.xml
+.idea/libraries/
+*.iws
+*.iml
+*.ipr
+
+### Eclipse ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
+
+### Mac OS ###
+.DS_Store
\ No newline at end of file
diff --git a/yudao-framework/yudao-spring-boot-starter-clickhouse/pom.xml b/yudao-framework/yudao-spring-boot-starter-clickhouse/pom.xml
new file mode 100644
index 000000000..251c5de62
--- /dev/null
+++ b/yudao-framework/yudao-spring-boot-starter-clickhouse/pom.xml
@@ -0,0 +1,38 @@
+
+
+ 4.0.0
+
+ cn.iocoder.cloud
+ yudao-framework
+ ${revision}
+
+
+ yudao-spring-boot-starter-clickhouse
+ ${project.artifactId}
+ 验证码拓展
+ 1. springBoot集成clickhouse数据源
+
+ jar
+
+
+
+ cn.iocoder.cloud
+ yudao-common
+
+
+
+ ru.yandex.clickhouse
+ clickhouse-jdbc
+
+
+ org.springframework.boot
+ spring-boot-autoconfigure
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+
+
+
\ No newline at end of file
diff --git a/yudao-module-report/yudao-module-report-biz/src/main/resources/application-dev.yaml b/yudao-module-report/yudao-module-report-biz/src/main/resources/application-dev.yaml
index e0faca40f..ebf547dcd 100644
--- a/yudao-module-report/yudao-module-report-biz/src/main/resources/application-dev.yaml
+++ b/yudao-module-report/yudao-module-report-biz/src/main/resources/application-dev.yaml
@@ -40,20 +40,20 @@ spring:
datasource:
master:
name: ruoyi-vue-pro
- url: jdbc:mysql://400-infra.server.iocoder.cn:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT&nullCatalogMeansCurrent=true
+ url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT&nullCatalogMeansCurrent=true
driver-class-name: com.mysql.jdbc.Driver
username: root
password: 3WLiVUBEwTbvAfsh
slave: # 模拟从库,可根据自己需要修改 # 模拟从库,可根据自己需要修改
name: ruoyi-vue-pro
- url: jdbc:mysql://400-infra.server.iocoder.cn:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT&nullCatalogMeansCurrent=true
+ url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT&nullCatalogMeansCurrent=true
driver-class-name: com.mysql.jdbc.Driver
username: root
password: 3WLiVUBEwTbvAfsh
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
redis:
- host: 400-infra.server.iocoder.cn # 地址
+ host: 127.0.0.1 # 地址
port: 6379 # 端口
database: 1 # 数据库索引
# password: 123456 # 密码,建议生产环境开启