原因是没有开启驼峰命名转换
application.properties:
#开启驼峰命名转换
mybatis.configuration.map-underscore-to-camel-case=true
application.yml:
#开启驼峰命名转换
mybatis:
configuration:
map-underscore-to-camel-case: true
原因是没有开启驼峰命名转换
application.properties:
#开启驼峰命名转换
mybatis.configuration.map-underscore-to-camel-case=true
application.yml:
#开启驼峰命名转换
mybatis:
configuration:
map-underscore-to-camel-case: true