Commit affb2f1068d061029c0961a0617f4f79be269310

Authored by liquanyu
1 parent 236aba70f2

儿童电子病历分娩机构

Showing 1 changed file with 12 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java View file @ affb2f1
... ... @@ -979,6 +979,18 @@
979 979 result.setBabyDiagnosis(model.getBabyDiagnosis());
980 980 result.setBlNo(model.getBlNo());
981 981 result.setDueWeek(model.getDueWeek());
  982 +
  983 + if (StringUtils.isNotEmpty(model.getDeliverOrg()))
  984 + {
  985 + Organization org = organizationService.getOrganization(Integer.parseInt(model.getDeliverOrg()));
  986 + if (org != null)
  987 + {
  988 + result.setDeliverOrg(org.getName());
  989 + }
  990 + }
  991 +
  992 +
  993 +
982 994 return result;
983 995 }
984 996