整合了spring boot 和mybatis但是查詢了數(shù)據(jù)庫 ?發(fā)現(xiàn) 駝峰命名的屬性沒有自動轉(zhuǎn)換mybatis: ?mapperLocations: classpath:mapper/*.xml ?typeAliasesPackage: com.zhz.entity ?mapUnderscoreToCamelCase: true這么配置不行,那些 name屬性能查詢出來,但是比如startTime , start_Time缺沒有查詢出來
添加回答
舉報
0/150
提交
取消