springboot+MyBatis返回Map时值为null的字段会丢失 application.yml 配置文件加入: configuration: call-setters-on-nulls: true