MybatisComfig.xml文件设置 <settings> <setting name="mapUnderscoreToCamelCase" value="true"/> </settings> 完成全局配置将数据库下划线映射为驼峰式命名