mybatispuls,自动转换下划线.默认会将数据库中的下划线转成驼峰。
mybatis-plus:
configuration:
map-underscore-to-camel-case: false
本文介绍了在MyBatis-Plus中,如何通过配置项`map-underscore-to-camel-case`来关闭数据库字段名由下划线转为驼峰命名的自动行为,以便保持原始的下划线命名风格。
mybatispuls,自动转换下划线.默认会将数据库中的下划线转成驼峰。
mybatis-plus:
configuration:
map-underscore-to-camel-case: false
2229
3036
631

被折叠的 条评论
为什么被折叠?