非驼峰命名的实体类转驼峰命名 1、将命名不规范的表,复制建表语句,修改字段为单词间用“ ”分割的格式,在测试库中重新建表。 2、使用Mybatis Generator重新生成entity、mapper、mapper.xml文件。对应的generatorConfig.xml文件请参考《SpringBoot 整合 Mybatis Generator自动生成代码》 3、将mapper.xml中的“”全部替换为“”。