原因是没有开启驼峰命名转换
解决方法:
application.yml中加配置
#开启驼峰命名转换
mybatis:
configuration:
map-underscore-to-camel-case: true
原因是没有开启驼峰命名转换
解决方法:
application.yml中加配置
#开启驼峰命名转换
mybatis:
configuration:
map-underscore-to-camel-case: true