Commit c1f237df44c414a48419685ab7db135467eaf2ba

Authored by liquanyu
1 parent 0d4aef577d

统计

Showing 1 changed file with 4 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ c1f237d
... ... @@ -964,7 +964,10 @@
964 964 Organization og = organizationService.getOrganization(Integer.valueOf(hospitalId));
965 965  
966 966 //秦皇岛区域
967   - if (og != null && "2".equals(og.getCityId()) && StringUtils.isNotEmpty(excAddRequest.getYyzyfmHospitalId()) && StringUtils.isNotEmpty(antExChuModel.getParentId())) {
  967 + if (og != null && "2".equals(og.getCityId()) &&
  968 + StringUtils.isNotEmpty(excAddRequest.getYyzyfmHospitalId())
  969 + && "undefined".equals(excAddRequest.getYyzyfmHospitalId())
  970 + && StringUtils.isNotEmpty(antExChuModel.getParentId())) {
968 971 Patients patients1 = new Patients();
969 972 patients1.setId(antExChuModel.getParentId());
970 973 patients1.setYyzyfmHospitalId(excAddRequest.getYyzyfmHospitalId());