From 1237124b45abe640c54862c42e285364b740ae8b Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Thu, 25 Aug 2016 16:42:39 +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 --- .../platform/operate/web/facade/AntenatalExaminationFacade.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 6bc0813..8bc7084 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 @@ -463,7 +463,7 @@ public class AntenatalExaminationFacade { * @param exListQueryRequest * @return */ - public BaseResponse findAntExListTwo(AntExListQueryRequest exListQueryRequest) { + public BaseResponse findAntExListTwo(AntExListQueryRequest exListQueryRequest,Integer userId) { PatientsQuery patientsQuery = new PatientsQuery(); patientsQuery.setCardNo(exListQueryRequest.getCardNo()); patientsQuery.setYn(YnEnums.YES.getId()); @@ -475,11 +475,12 @@ public class AntenatalExaminationFacade { Map map = new HashMap(); List sortList = new ArrayList(); - + String hospital=autoMatchFacade.getHospitalId(userId); List listDate = new ArrayList(); int index = 0; if (CollectionUtils.isNotEmpty(list)) { - antexListResult.convertToResult(null, list.get(0), null); + Patients patients2= findOnePatient(exListQueryRequest.getCardNo(),null,null,hospital,-1,false); + antexListResult.convertToResult(null, patients2, null); HighScoreResult highScoreResult = findLastRisk(list.get(0).getPid(), false); antexListResult.setRiskFactor(highScoreResult.getHighRisk()); -- 1.8.3.1