java.lang.IllegalArgumentException
解决
public static Date getNowDate(){
//处理时间,默认查询半年之内的工单就可以了
Calendar cal = Calendar.getInstance();
return cal.getTime();
}
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
public Date getGmtModified() {
return gmtModified;
}
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
public void setGmtModified(Date gmtModified) {
this.gmtModified = gmtModified;
}