Commit c2d23d695d5f192798a5a930fc0c2d5133217415

Authored by liquanyu
1 parent b700027cc7

体重管理

Showing 1 changed file with 0 additions and 7 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java View file @ c2d23d6
... ... @@ -518,13 +518,6 @@
518 518  
519 519 PageResult pageResult = findMongoPage(PatientWeight.class, new Query(criteria).with(new Sort(Sort.Direction.DESC, "modified")), page, limit);
520 520 List<PatientWeight> patientWeights = (List<PatientWeight>) pageResult.getGrid();
521   -// Collections.sort(patientWeights, new Comparator<PatientWeight>() {
522   -// @Override
523   -// public int compare(PatientWeight o1, PatientWeight o2) {
524   -// //升序
525   -// return o1.getModified().compareTo(o2.getModified());
526   -// }
527   -// });
528 521 List<Map<String, Object>> restMap = new ArrayList<>();
529 522 if(CollectionUtils.isNotEmpty(patientWeights)) {
530 523 for (PatientWeight patientWeight : patientWeights) {