Commit 5c6ec59c980d0a1ef8083b1d997914af515e27bb

Authored by jiangjiazhi
1 parent 2e1f02d0a6

孕妇分娩后 变成产妇

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 @ 5c6ec59
... ... @@ -77,7 +77,7 @@
77 77 antExQuery.setStart(DateUtil.parseYMD(DateUtil.getyyyy_MM_dd(new Date())));
78 78 List<AntenatalExaminationModel> list = antenatalExaminationService.queryAntenatalExamination(antExQuery.convertToQuery());
79 79 if (CollectionUtils.isNotEmpty(list)) {
80   - return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("同一天只能建一次复诊");
  80 + return new BaseResponse().setErrorcode(ErrorCodeConstants.DATA_EXIST).setErrormsg("同一天只能建一次复诊");
81 81 }
82 82 model.setPid( patientsService.findOnePatientById(antExAddRequest.getParentId()).getPid());
83 83 antenatalExaminationService.addOneBabyAnt(model);
... ... @@ -447,7 +447,7 @@
447 447 }
448 448  
449 449 if (null == patients) {
450   - return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("该孕妇还未在本院建档不能进行产检");
  450 + return new BaseResponse().setErrorcode(ErrorCodeConstants.DEPT_NOT_EXISTS).setErrormsg("该孕妇还未在本院建档不能进行产检");
451 451 }
452 452  
453 453 AntexListResult antexListResult = new AntexListResult();