其他分享
首页 > 其他分享> > mybatis-plus自动驼峰功能失效

mybatis-plus自动驼峰功能失效

作者:互联网

加个配置就行

@Bean
public ConfigurationCustomizer mybatisConfigurationCustomizer(){
return new ConfigurationCustomizer() {
@Override
public void customize(MybatisConfiguration configuration) {
configuration.setObjectWrapperFactory(new MybatisMapWrapperFactory());
}
};
}

标签:ConfigurationCustomizer,驼峰,mybatisConfigurationCustomizer,Override,plus,setObjec
来源: https://www.cnblogs.com/zxg-blog/p/16691973.html