springboot整合mybaits注解开发时,返回json或者map对象时,如果一个字段的value为空,需要更改springboot的配置文件

mybatis:
  configuration:
    call-setters-on-nulls: true

 

相关文章: