2016-11-07 18:18
谢谢,果然有数据了,可是我把数据也就是上面的user,用JSONArray.fromObject(user) 后,出现的Json格式中的createTime(数据库中类型是datetime)是[{"createTime":{"date":20,"day":4,"hours":17,"minutes":13,"month":9,"nanos":0,"seconds":43,"time":1476954823000,"timezoneOffset":-480,"year":116},"email":"ee@qq.com","id":1,"isDeleted":0,"...............我用jdbc是完整的日期,这是为什么?