说我数据库里不存在order_id,因为我数据库字段叫orderId
原因:使用mybatis-plus会将数据库的驼峰命名的字段自动转换为下划线
解决方法:
在yml中配置
mybatis-plus: configuration: map-underscore-to-camel-case: false
说我数据库里不存在order_id,因为我数据库字段叫orderId
原因:使用mybatis-plus会将数据库的驼峰命名的字段自动转换为下划线
解决方法:
在yml中配置
mybatis-plus: configuration: map-underscore-to-camel-case: false