开启mybatis驼峰命名自动映射开关

0 阅读1分钟

在application.properties文件下

#开启mybatis驼峰命名自动映射开关
mybatis.configuration.map-underscore-to-camel-case=true