mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
报表基础模块:手动注入ureport服务
This commit is contained in:
+8
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user