diff --git a/cf-module-report/cf-module-report-biz/src/main/java/com/cf/imes/module/report/framework/ureport/config/ReportConfig.java b/cf-module-report/cf-module-report-biz/src/main/java/com/cf/imes/module/report/framework/ureport/config/ReportConfig.java index e5f7b56dc..738e6ea8e 100644 --- a/cf-module-report/cf-module-report-biz/src/main/java/com/cf/imes/module/report/framework/ureport/config/ReportConfig.java +++ b/cf-module-report/cf-module-report-biz/src/main/java/com/cf/imes/module/report/framework/ureport/config/ReportConfig.java @@ -1,5 +1,8 @@ package com.cf.imes.module.report.framework.ureport.config; +import com.bstek.datasource.service.DataSourceService; +import com.bstek.datasource.service.impl.DataSourceServiceImpl; +import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; @@ -10,4 +13,9 @@ import org.springframework.context.annotation.Import; @Configuration @Import(CfReportSpringbeanRegistrar.class) public class ReportConfig { + + @Bean + public DataSourceService getUreportDataSourceService() { + return new DataSourceServiceImpl(); + } } \ No newline at end of file