Commit f6d2b85f9cc7b3b5c7ff1961fcc5a01fd9348f41

Authored by liquanyu
1 parent 4429ca51b8

code update

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java View file @ f6d2b85
... ... @@ -1162,7 +1162,7 @@
1162 1162 Patients patients = patientsService.findOnePatientByCardNo(puerperaQuery);
1163 1163 map.put("patients", patients);
1164 1164 map.put("records",results);
1165   - map.put("buildInfo",getBabyBuildResult(buildInfo));
  1165 + map.put("buildInfo",buildInfo == null ? null : getBabyBuildResult(buildInfo));
1166 1166 map.put("isCurrentHospBuild",isCurrentHosp);
1167 1167  
1168 1168 BaseObjectResponse objectResponse = new BaseObjectResponse();