摘要: Query query = new Query(); Criteria criteria = Criteria.where("timestamp").gt(from).lt(to); query.addCriteria(criteria); query.with(new Sort(Direction.ASC, "timestamp")); query.limit(limit); 阅读全文
posted @ 2014-03-25 20:05 纵酒挥刀斩人头 阅读(532) 评论(0) 推荐(0) 编辑