Commit ae8e2494d10b86b199f3089a101061f459923a80
1 parent
1c517e98d8
Exists in
master
and in
6 other branches
隆化2022.1.4-1.儿保检查--儿保登记统计(还原之前。排序没问题)
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyHealthFacade.java
View file @
ae8e249
... | ... | @@ -212,7 +212,7 @@ |
212 | 212 | // ids.add(babyModel.getId()); |
213 | 213 | Criteria criteriaCheck = Criteria.where("buildId").in(babyModel.getId()); |
214 | 214 | // pageResult = findMongoPage(BabyCheckModel.class, new Query(criteriaCheck).with(new Sort(Sort.Direction.DESC, "created")), page, limit); |
215 | - List<BabyCheckModel> babyCheckModelList = mongoTemplate.find(new Query(criteriaCheck).with(new Sort(Sort.Direction.ASC, "created")), BabyCheckModel.class); | |
215 | + List<BabyCheckModel> babyCheckModelList = mongoTemplate.find(new Query(criteriaCheck).with(new Sort(Sort.Direction.DESC, "created")), BabyCheckModel.class); | |
216 | 216 | |
217 | 217 | // List <BabyCheckModel> babyCheckModelList = (List <BabyCheckModel>) pageResult.getGrid(); |
218 | 218 |