Commit a080a038385e1b5f59eea6352cc51079b7bcfe89

Authored by liquanyu
1 parent c7bcdefc27

update

Showing 1 changed file with 5 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PostReviewFacade.java View file @ a080a03
... ... @@ -352,7 +352,11 @@
352 352  
353 353 //未分娩建档
354 354 if (null != patients) {
355   - return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("该孕妇还未分娩,不能进行复查");
  355 + Map map = new HashMap();
  356 + map.put("name",patients.getUsername());
  357 + map.put("phone",patients.getPhone());
  358 + map.put("age",DateUtil.getAge(patients.getBirth()));
  359 + return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("该孕妇还未分娩,不能进行复查").setData(map);
356 360 }
357 361  
358 362 //取所有医院的建档数据 优先取本院 ,然后取外院