java @ResponseBody返回值中去掉NULL字段
摘要:需要同时添加两个位置: 1、annotation-driven过滤 2、RequestMapping过滤
阅读全文
posted @
2016-06-30 17:36
一路前行
阅读(13204)
推荐(0) 编辑
合并两个java bean对象非空属性(泛型)
摘要:import java.beans.BeanInfo; import java.beans.Introspector; import java.beans.PropertyDescriptor; class Beanutils{ //merge two bean by discovering differences public static void merge(M tar...
阅读全文
posted @
2016-06-07 07:36
一路前行
阅读(6735)
推荐(0) 编辑