springmvc日期的处理

@DatetimeFormat是将String转换成Date,通常前台给后台传值时用orm

@JsonFormat(pattern="yyyy-MM-dd")  将Date转换成String  通常后台传值给前台时blog

相关文章
相关标签/搜索