Commit 1c517e98d8500df32b9cd4fcb8711dd32bf9ef94

Authored by shiyang
1 parent 31ad83a4fa

隆化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 @ 1c517e9
... ... @@ -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.DESC, "created")), BabyCheckModel.class);
  215 + List<BabyCheckModel> babyCheckModelList = mongoTemplate.find(new Query(criteriaCheck).with(new Sort(Sort.Direction.ASC, "created")), BabyCheckModel.class);
216 216  
217 217 // List <BabyCheckModel> babyCheckModelList = (List <BabyCheckModel>) pageResult.getGrid();
218 218