@JsonFormat(pattern = "yyyy-MM-dd") private Date createDate = DateUtil.parseFormat("yyyy-MM-dd");
该注解如果把Date值设为2014-03-14 00:00:00,序列化出来的是2014-03-13,我晕..
@JsonFormat(pattern = "yyyy-MM-dd") private Date createDate = DateUtil.parseFormat("yyyy-MM-dd");