|
@@ -114,14 +114,7 @@ public class MybatisPlusProperties {
|
|
|
* TODO 全局配置
|
|
|
*/
|
|
|
@NestedConfigurationProperty
|
|
|
- private GlobalConfig globalConfig;
|
|
|
-
|
|
|
- public GlobalConfig getGlobalConfig() {
|
|
|
- if (globalConfig == null) {
|
|
|
- globalConfig = GlobalConfigUtils.defaults();
|
|
|
- }
|
|
|
- return globalConfig;
|
|
|
- }
|
|
|
+ private GlobalConfig globalConfig = GlobalConfigUtils.defaults();
|
|
|
|
|
|
|
|
|
public Resource[] resolveMapperLocations() {
|