From c2d23d695d5f192798a5a930fc0c2d5133217415 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Wed, 4 Jul 2018 16:38:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E9=87=8D=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operate/web/service/impl/PatientWeightServiceImpl.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java index 97c2ca0..332f141 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java @@ -518,13 +518,6 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient PageResult pageResult = findMongoPage(PatientWeight.class, new Query(criteria).with(new Sort(Sort.Direction.DESC, "modified")), page, limit); List patientWeights = (List) pageResult.getGrid(); -// Collections.sort(patientWeights, new Comparator() { -// @Override -// public int compare(PatientWeight o1, PatientWeight o2) { -// //升序 -// return o1.getModified().compareTo(o2.getModified()); -// } -// }); List> restMap = new ArrayList<>(); if(CollectionUtils.isNotEmpty(patientWeights)) { for (PatientWeight patientWeight : patientWeights) { -- 1.8.3.1