From f20e755c36d40d3474b6866b4f1b006cb128ef75 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 31 十二月 2024 14:12:37 +0800 Subject: [PATCH] 模型运行调整为单例模式 --- iailab-framework/iailab-common-biz-tenant/src/main/java/com/iailab/framework/tenant/core/service/TenantFrameworkServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iailab-framework/iailab-common-biz-tenant/src/main/java/com/iailab/framework/tenant/core/service/TenantFrameworkServiceImpl.java b/iailab-framework/iailab-common-biz-tenant/src/main/java/com/iailab/framework/tenant/core/service/TenantFrameworkServiceImpl.java index 7f98f05..eef1cf4 100644 --- a/iailab-framework/iailab-common-biz-tenant/src/main/java/com/iailab/framework/tenant/core/service/TenantFrameworkServiceImpl.java +++ b/iailab-framework/iailab-common-biz-tenant/src/main/java/com/iailab/framework/tenant/core/service/TenantFrameworkServiceImpl.java @@ -69,9 +69,9 @@ return null; } // 转换成 dynamic-datasource 配置 - /*return new DataSourceProperty() - .setPoolName(dataSourceConfig.getName()).setUrl(dataSourceConfig.getUrl()) - .setUsername(dataSourceConfig.getUsername()).setPassword(dataSourceConfig.getPassword());*/ +// return new DataSourceProperty() +// .setPoolName(dataSourceConfig.getName()).setUrl(dataSourceConfig.getUrl()) +// .setUsername(dataSourceConfig.getUsername()).setPassword(dataSourceConfig.getPassword()); DataSourceProperty ds = new DataSourceProperty(); ds.setPoolName(dataSourceConfig.getName()); -- Gitblit v1.9.3