Skip to content

Commit

Permalink
🐛 REPORT:支持 SaaS 租户模式
Browse files Browse the repository at this point in the history
  • Loading branch information
YunaiV committed Dec 30, 2023
1 parent baabebb commit e35b8c4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions yudao-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<revision>2.0.0-jdk8-snapshot</revision>
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
<!-- 统一依赖管理 -->
<spring.boot.version>2.7.17</spring.boot.version>
<spring.boot.version>2.7.18</spring.boot.version>
<!-- Web 相关 -->
<springdoc.version>1.6.15</springdoc.version>
<knife4j.version>4.3.0</knife4j.version>
Expand Down Expand Up @@ -71,7 +71,7 @@
<aliyun-java-sdk-dysmsapi.version>2.2.1</aliyun-java-sdk-dysmsapi.version>
<tencentcloud-sdk-java.version>3.1.880</tencentcloud-sdk-java.version>
<justauth.version>1.0.8</justauth.version>
<jimureport.version>1.6.1</jimureport.version>
<jimureport.version>1.6.6</jimureport.version>
<xercesImpl.version>2.12.2</xercesImpl.version>
<weixin-java.version>4.5.7.B</weixin-java.version>
<ureport2.version>2.2.9</ureport2.version>
Expand Down
2 changes: 1 addition & 1 deletion yudao-module-report/yudao-module-report-biz/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<!-- 积木报表-->
<dependency>
<groupId>org.jeecgframework.jimureport</groupId>
<artifactId>jimureport-spring-boot3-starter</artifactId>
<artifactId>jimureport-spring-boot-starter</artifactId>
</dependency>
<!-- 单独依赖升级版本,解决低版本validator失败问题 -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author 赤焰
*/
@Slf4j
//@Component
@Component
public class UReportDataSource implements BuildinDatasource {

private static final String NAME = "UReportDataSource";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @author 赤焰
*/
// TODO @赤焰:这个 bean 的注解,交给 UReportConfiguration 搞
//@Component
@Component
@Slf4j
@Setter
public class UReportDatabaseProvider implements ReportProvider {
Expand Down
1 change: 0 additions & 1 deletion yudao-server/src/main/resources/application-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ spring:
autoconfigure:
exclude:
- com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源
- org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration # 排除积木报表带来的 MongoDB 的自动配置
datasource:
druid: # Druid 【监控】相关的全局配置
web-stat-filter:
Expand Down
1 change: 0 additions & 1 deletion yudao-server/src/main/resources/application-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ spring:
autoconfigure:
exclude:
- com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure # 排除 Druid 的自动配置,使用 dynamic-datasource-spring-boot-starter 配置多数据源
- org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration # 排除积木报表带来的 MongoDB 的自动配置
- org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration # 默认 local 环境,不开启 Quartz 的自动配置
- de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration # 禁用 Spring Boot Admin 的 Server 的自动配置
- de.codecentric.boot.admin.server.ui.config.AdminServerUiAutoConfiguration # 禁用 Spring Boot Admin 的 Server UI 的自动配置
Expand Down

0 comments on commit e35b8c4

Please sign in to comment.