From 4d9cc0efd2fd96cef21772e02987bd7e993a6530 Mon Sep 17 00:00:00 2001 From: junjun Date: Tue, 2 Jul 2024 14:45:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=B8=8B=E6=8B=89=E6=A0=91=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extensions/datasource/factory/ProviderFactory.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk/extensions/extensions-datasource/src/main/java/io/dataease/extensions/datasource/factory/ProviderFactory.java b/sdk/extensions/extensions-datasource/src/main/java/io/dataease/extensions/datasource/factory/ProviderFactory.java index 9c4df31a99..353972f5d6 100644 --- a/sdk/extensions/extensions-datasource/src/main/java/io/dataease/extensions/datasource/factory/ProviderFactory.java +++ b/sdk/extensions/extensions-datasource/src/main/java/io/dataease/extensions/datasource/factory/ProviderFactory.java @@ -19,4 +19,9 @@ public class ProviderFactory { } return SpringContextUtil.getApplicationContext().getBean(type + "DsProvider", Provider.class); } + + public static Provider getDefaultProvider() { + return SpringContextUtil.getApplicationContext().getBean("calciteProvider", Provider.class); + } + }