Bruger Mongo skabelon.
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");
Brug af Mongo Repository
Report findTopByCompanyOrderByReportDateDesc(String company)