Sử dụng Mẫu Mongo.
Criteria find = Criteria.where("company").is("Random");
Query query = new Query().addCriteria(find).with(new Sort(Sort.Direction.DESC, "reportDate"));
BasicDBObject result = mongoOperations.findOne(query, BasicDBObject.class, "collection_name");
Sử dụng Kho lưu trữ Mongo
Report findTopByCompanyOrderByReportDateDesc(String company)