Commit a113bd4e3dfc04f74e2fc09f9949a521a6deb986
Exists in
master
and in
8 other branches
Merge remote-tracking branch 'origin/master'
Showing 1 changed file
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
a113bd4
... | ... | @@ -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(); |