摘要:
@Temporal(TemporalType.TIMESTAMP) @Column(name="createTime",nullable=false) private Date createTime; //注册时间 数据库中的Date类型,取到页面上是yyyy-MM-dd hh-mm-ss格式利用@Temporal则可以获取自己想要的格式类型TIMESTAMP yyyy-MM-dd h... 阅读全文
posted @ 2016-11-23 14:20
言凡
阅读(6418)
评论(0)
推荐(0)