From 0eb401ab9947276e1d59376fec5a8ce1fd810786 Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Wed, 17 Aug 2016 14:22:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AE=BE=E7=BD=AEparentid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lyms/platform/operate/web/facade/PatientFacade.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java index 615d796..71757a2 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java @@ -298,7 +298,7 @@ public class PatientFacade { } //复查次数 PostReviewQuery postReviewQuery=new PostReviewQuery(); - postReviewQuery.setParentId(patients.getId()); + postReviewQuery.setPid(patients.getPid()); postReviewQuery.setYn(YnEnums.YES.getId()); List withList = postReviewService.findWithList(postReviewQuery.convertToQuery().addOrder(Sort.Direction.DESC, "created")); @@ -336,7 +336,7 @@ public class PatientFacade { for (Patients patients : patientses) { QuanPatientsResult quanPatientsResult = new QuanPatientsResult(); quanPatientsResult.convertToResult(patients); - antExQuery.setParentId(patients.getId()); + antExQuery.setPid(patients.getPid()); antExQuery.setYn(YnEnums.YES.getId()); if (StringUtils.isNotEmpty(patients.getBookbuildingDoctor())) { if (NumberUtils.isNumber(patients.getBookbuildingDoctor())) { @@ -365,7 +365,7 @@ public class PatientFacade { } //复诊次数 int i = antExService.queryAntenatalExaminationCount(antExQuery.convertToQuery()); - antExChuQuery.setParentId(patients.getId()); + antExChuQuery.setPid(patients.getPid()); antExChuQuery.setYn(YnEnums.YES.getId()); //初诊次数 int b = antExService.queryAntExChuCount(antExChuQuery.convertToQuery()); @@ -438,12 +438,12 @@ public class PatientFacade { riskPatientsResult.setCheckDoctor(patients.getLastCheckEmployeeId()); } } - antExQuery.setParentId(patients.getId()); + antExQuery.setPid(patients.getPid()); antExQuery.setYn(YnEnums.YES.getId()); HighScoreResult highScoreResult = antenatalExaminationFacade.findLastRisk(patients.getPid(),true); //复诊次数 int i = antExService.queryAntenatalExaminationCount(antExQuery.convertToQuery()); - antExChuQuery.setParentId(patients.getId()); + antExChuQuery.setPid(patients.getPid()); antExChuQuery.setYn(YnEnums.YES.getId()); //初诊次数 -- 1.8.3.1