mybatis中对mapper的相关配置

mybatis.configuration.mapUnderscoreToCamelCase=true
#意思是查询返回的属性,有下滑线的会把下划线去掉 变成驼峰式命名 正好和我们的bean属性对应

猜你喜欢

转载自blog.csdn.net/u014662858/article/details/82154208