mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 17:48:25 +08:00
修正创建多个 MybatisFlexBootstrap 实例时,FlexGlobalConfig.getConfig(environmentId) 获取的 config 永远是 defaultConfig。
When creating multiple MybatisFlexBootstrap instances, the config obtained by FlexGlobalConfig.getConfig(environmentId) is always defaultConfig.
This commit is contained in:
parent
b91f84632e
commit
02f6492d5b
@ -423,7 +423,7 @@ public class FlexGlobalConfig {
|
|||||||
defaultConfig.setConfiguration(config.configuration);
|
defaultConfig.setConfiguration(config.configuration);
|
||||||
}
|
}
|
||||||
|
|
||||||
globalConfigs.put(id, isDefault ? defaultConfig : config);
|
globalConfigs.put(id, config);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user