Commit 157c7d97dbc0a830d09bfa7c6326f000f35ddb2a

Authored by jiangjiazhi
1 parent ef6eaae067

修改新电子病历

Showing 1 changed file with 3 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostReviewFacade.java View file @ 157c7d9
... ... @@ -144,10 +144,10 @@
144 144 //取所有医院的建档数据 优先取本院 ,然后取外院
145 145 Patients patientsList = examinationFacade.findOnePatient(postReviewQueryRequest.getCardNo(), postReviewQueryRequest.getVcCardNo(), null, hospitalId, 3,true,null);
146 146 PostReviewListResult postReviewListResult = new PostReviewListResult();
147   - if(null!=patients.getDueStatus() && 1 == patients.getDueStatus()){
148   - return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg("您已终止妊娠不能进行复查");
149   - }
150 147 if (null != patientsList) {
  148 + if(null!=patientsList.getDueStatus() && 1 == patientsList.getDueStatus()){
  149 + return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg("您已终止妊娠不能进行复查");
  150 + }
151 151 PostReviewQuery postReviewQuery = new PostReviewQuery();
152 152 postReviewQuery.setPid(patientsList.getPid());
153 153 postReviewQuery.setYn(YnEnums.YES.getId());