|
@@ -63,7 +63,7 @@ public class DynamicDataSourceHandler extends HandlerInterceptorAdapter {
|
|
String newDsName = dbNameDefault;
|
|
String newDsName = dbNameDefault;
|
|
if (StringUtils.isNotBlank(PoemsContext.getContext().getGroupCode())) {
|
|
if (StringUtils.isNotBlank(PoemsContext.getContext().getGroupCode())) {
|
|
// 创建的数据源名称: 集团编码_应用名
|
|
// 创建的数据源名称: 集团编码_应用名
|
|
- newDsName = dbNameDefault + "_" + PoemsContext.getContext().getGroupCode();
|
|
|
|
|
|
+ newDsName = PoemsContext.getContext().getGroupCode() + "_" + dbNameDefault;
|
|
}
|
|
}
|
|
|
|
|
|
// 数据源中是否已存在
|
|
// 数据源中是否已存在
|