From 157c7d97dbc0a830d09bfa7c6326f000f35ddb2a Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Mon, 29 Aug 2016 10:34: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 --- .../java/com/lyms/platform/operate/web/facade/PostReviewFacade.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostReviewFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostReviewFacade.java index 3c47551..8381e0c 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostReviewFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostReviewFacade.java @@ -144,10 +144,10 @@ public class PostReviewFacade { //取所有医院的建档数据 优先取本院 ,然后取外院 Patients patientsList = examinationFacade.findOnePatient(postReviewQueryRequest.getCardNo(), postReviewQueryRequest.getVcCardNo(), null, hospitalId, 3,true,null); PostReviewListResult postReviewListResult = new PostReviewListResult(); - if(null!=patients.getDueStatus() && 1 == patients.getDueStatus()){ - return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg("您已终止妊娠不能进行复查"); - } if (null != patientsList) { + if(null!=patientsList.getDueStatus() && 1 == patientsList.getDueStatus()){ + return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg("您已终止妊娠不能进行复查"); + } PostReviewQuery postReviewQuery = new PostReviewQuery(); postReviewQuery.setPid(patientsList.getPid()); postReviewQuery.setYn(YnEnums.YES.getId()); -- 1.8.3.1