Commit aaeb37dc35e59687ccc825903918d6291690e413

Authored by wtt
1 parent 1a066618ae

update

Showing 1 changed file with 2 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ResidentsArchiveFacade.java View file @ aaeb37d
... ... @@ -296,8 +296,9 @@
296 296 if (CollectionUtils.isNotEmpty(residents)) {
297 297 //如果该身份证号或者就诊卡号已经在某家医院建档,拉取最新的一条建档记录返回给前端
298 298 newModel = residents.get(0);
  299 + }else {
  300 + return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg("该孕妇还未在本院建档不能进行产检");
299 301 }
300   -
301 302 BaseResponse listResponse = new BaseResponse();
302 303 listResponse.setObject(newModel);
303 304 listResponse.setErrorcode(ErrorCodeConstants.SUCCESS);