Commit 1539e423a90463dd2797c8f5ba75021f2bf93974

Authored by liquanyu
1 parent ba8db7209e

update

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java View file @ 1539e42
... ... @@ -543,7 +543,7 @@
543 543 criteria.and("type").is(type);
544 544 }
545 545  
546   - PageResult pageResult = findMongoPage(PatientWeight.class, new Query(criteria).with(new Sort(Sort.Direction.DESC, "modified")), page, limit);
  546 + PageResult pageResult = findMongoPage(PatientWeight.class, new Query(criteria).with(new Sort(Sort.Direction.ASC, "modified")), page, limit);
547 547 List<PatientWeight> patientWeights = (List<PatientWeight>) pageResult.getGrid();
548 548 List<Map<String, Object>> restMap = new ArrayList<>();
549 549 if (CollectionUtils.isNotEmpty(patientWeights)) {