Commit 6f153604636023b190fac743495ef00330964c09

Authored by liquanyu
1 parent a012c1cdae

分娩

Showing 1 changed file with 4 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java View file @ 6f15360
... ... @@ -861,10 +861,13 @@
861 861 LcdcfHisModel lcdcfHisModel = null;
862 862  
863 863 //聊城东昌府分娩界面通过住院号从his中查询到孕妇的身份号码,然后用身份证号码作为院内系统的查询条件查询孕妇信息
864   - if ("2100001305".equals(hospital) && StringUtils.isNotEmpty(deliverQueryRequest.getZhuYuanNo())) {
  864 + //if ("2100001305".equals(hospital) && StringUtils.isNotEmpty(deliverQueryRequest.getZhuYuanNo())) {
  865 + if ("1000000116".equals(hospital) && StringUtils.isNotEmpty(deliverQueryRequest.getZhuYuanNo())) {
865 866 lcdcfHisModel = lcdcfHisService.getHisPatientByZyh(deliverQueryRequest.getZhuYuanNo());
866 867 if (lcdcfHisModel != null && StringUtils.isNotEmpty(lcdcfHisModel.getIdCard())) {
867 868 deliverQueryRequest.setCardNo(lcdcfHisModel.getIdCard());
  869 + } else {
  870 + return new BaseResponse().setErrormsg("该孕妇还未在本院建档不能进行分娩").setErrorcode(ErrorCodeConstants.NO_DATA);
868 871 }
869 872 }
870 873 //获取