springboot整合mybaits注解开发

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

mybatis:
  configuration:
    call-setters-on-nulls: true
原文地址:https://www.cnblogs.com/jjkang/p/7909001.html