文档库--代码注释
This commit is contained in:
+4
-4
@@ -142,9 +142,9 @@ public class MybatisPlusConfig {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
//将数据库中的数据输出时都转换成驼峰格式
|
//将数据库中的数据输出时都转换成驼峰格式
|
||||||
@Bean
|
// @Bean
|
||||||
public ConfigurationCustomizer mybatisConfigurationCustomizer(){
|
// public ConfigurationCustomizer mybatisConfigurationCustomizer(){
|
||||||
return configuration -> configuration.setObjectWrapperFactory(new MybatisMapWrapperFactory());
|
// return configuration -> configuration.setObjectWrapperFactory(new MybatisMapWrapperFactory());
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user