From 84d8dd94e7cafbf10a34531c8028a2b8264a1995 Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Wed, 21 Sep 2016 20:09:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E7=94=B5=E5=AD=90?= =?UTF-8?q?=E7=97=85=E5=8E=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operate/web/facade/AntenatalExaminationFacade.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java index aa72cf9..0e40b59 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java @@ -390,7 +390,7 @@ public class AntenatalExaminationFacade { List patientses = patientsService.queryPatient(patientsQuery); if (CollectionUtils.isNotEmpty(patientses)) { for (Patients patients : patientses) { - listDate.add(new SortIn(patients, 1)); + listDate.add(new SortIn(patients, "1")); } } //ζŽ’εΊι›†εˆ @@ -404,7 +404,7 @@ public class AntenatalExaminationFacade { Date min = null; if (CollectionUtils.isNotEmpty(patientses1)) { - min = patientses1.get(0).getBookbuildingDate(); + min = patientses1.get(0).getLastMenses(); } Date max = null; @@ -997,6 +997,12 @@ public class AntenatalExaminationFacade { this.type = 2; } + public SortIn(Patients patients, String i) { + this.id = patients.getId(); + this.date = patients.getLastMenses(); + this.type = 2; + } + public SortIn(StopPregModel stopPregModel) { this.id = stopPregModel.getId(); this.date = stopPregModel.getStopDate(); -- 1.8.3.1