SpringBootS数据库查询部分字段为null TateL 2023-11-09 65 阅读1分钟 原因是Bean类中用的是驼峰命名 但是数据库中不是,所以开启mybatis的自动驼峰命名转换 application.yml #开启驼峰命名转换 configuration: map-underscore-to-camel-case: true