Commit 4e3c2010999ff36bc95ee75fcae13d5f0a865e9c

Authored by jiangjiazhi
1 parent 12a7970360

孕妇分娩后 变成产妇

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ 4e3c201
... ... @@ -127,10 +127,10 @@
127 127  
128 128 List<Patients> list = patientsService.queryPatient(patientsQuery);
129 129 antExChuQuery.setStart(list.get(0).getCreated());
130   -
  130 + antExChuQuery.setParentId(excAddRequest.getParentId());
131 131 List<AntExChuModel> data = antenatalExaminationService.queryAntExChu(antExChuQuery);
132 132 if(CollectionUtils.isNotEmpty(data)){
133   - return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("您本次妊娠中已在本医院建档");
  133 + return new BaseResponse().setErrorcode(ErrorCodeConstants.DATA_EXIST).setErrormsg("您本次妊娠中已在本医院建档");
134 134 }
135 135 }
136 136 antExChuModel.setYn(YnEnums.YES.getId());