原因是沒有開啓駝峯命名轉換
application.properties:
#開啓駝峯命名轉換
mybatis.configuration.map-underscore-to-camel-case=true
application.yml:
#開啓駝峯命名轉換
mybatis:
configuration:
map-underscore-to-camel-case: true
原因是沒有開啓駝峯命名轉換
application.properties:
#開啓駝峯命名轉換
mybatis.configuration.map-underscore-to-camel-case=true
application.yml:
#開啓駝峯命名轉換
mybatis:
configuration:
map-underscore-to-camel-case: true