mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
optimize FlexGlobalConfig.java
This commit is contained in:
parent
18e274a8f3
commit
377f90e9eb
@ -200,7 +200,7 @@ public class FlexGlobalConfig {
|
||||
}
|
||||
|
||||
public static FlexGlobalConfig getConfig(Configuration configuration) {
|
||||
return globalConfigs.get(configuration.getEnvironment().getId());
|
||||
return getConfig(configuration.getEnvironment().getId());
|
||||
}
|
||||
|
||||
public static FlexGlobalConfig getConfig(String environmentId) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user