解决spring boot整合mybatis时 返回map value数据库为空字段不显示
数据库为空是查出来的map直接消失导致前端页面报错
解决方案

在yml文件中加入一个配置就可以了
mybatis:
configuration:
call-setters-on-nulls: true

相关文章:

  • 2022-12-23
  • 2021-06-30
  • 2022-01-28
  • 2022-12-23
猜你喜欢
  • 2021-03-31
  • 2022-01-14
  • 2021-08-15
  • 2022-01-30
  • 2022-12-23
  • 2021-07-30
相关资源
相似解决方案