1.加入ai对话框 模块日报功能
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package cn.iocoder.yudao.module.report.framework.jmreport.config;
|
||||
|
||||
import cn.iocoder.yudao.module.report.framework.jmreport.core.service.JmOnlDragExternalServiceImpl;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Primary;
|
||||
|
||||
/**
|
||||
* 积木 BI 仪表盘扩展配置(依赖 jimubi 的 IOnlDragExternalService)
|
||||
* 仅当 IOnlDragExternalService 存在于 classpath 时生效,避免 jimubi 版本不兼容导致启动失败
|
||||
*
|
||||
* @author 芋道源码
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnClass(name = "org.jeecg.modules.drag.service.IOnlDragExternalService")
|
||||
public class JmReportDragConfiguration {
|
||||
|
||||
@Bean
|
||||
@Primary
|
||||
public JmOnlDragExternalServiceImpl jmOnlDragExternalService2() {
|
||||
return new JmOnlDragExternalServiceImpl();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user