mybatis-plus 字段带下划线为null

傷城~ 2023-02-09 05:23 50阅读 0赞

在application.properties中添加配置

  1. #解决带_ 的时候获取不到值,自动驼峰转换关闭
  2. mybatis-plus.configuration.map-underscore-to-camel-case=false

发表评论

表情:
评论列表 (有 0 条评论,50人围观)

还没有评论,来说两句吧...

相关阅读