一共有3中方式可以实现
@DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Temporal(TemporalType.TIMESTAMP) private Date creat_time;
一共有3中方式可以实现
@DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Temporal(TemporalType.TIMESTAMP) private Date creat_time;