摘要:
第一种: @JsonInclude(JsonInclude.Include.NON_NULL) 第二种: spring: jackson: default-property-inclusion: non_null 作者:懒_小白链接:https://www.jianshu.com/p/940407a 阅读全文
摘要:
快捷键 Ctrl + G : 阅读全文
摘要:
在日常开发中,查询数据返回类型为map,数据库中有些自动值为null,则返回的结果中没有值为空的字段,则如何显示值为空的字段呢? 1.xml文件: [html] view plain copy <resultMap id="userLoginInfo" type="map" > <result co 阅读全文