博主开源仓库https://gitee.com/caidingnu/springboot-learning-case 1、在application.properties中加上即可 #开启驼峰命名转换
mybatis.configuration.map-underscore-to-camel-case=true
2、sql打印
#打印sql(语句),方便调试
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl