Commit 04cfe104f3c4f722f7131bc4d156b5db82918936
1 parent
faa12abcc4
Exists in
master
and in
6 other branches
床位预约
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
04cfe10
| ... | ... | @@ -398,7 +398,7 @@ |
| 398 | 398 | } |
| 399 | 399 | |
| 400 | 400 | } else { |
| 401 | - if (StringUtils.isNotEmpty(antExAddRequest.getRegistration().getPid())) | |
| 401 | + if (antExAddRequest.getRegistration() != null && StringUtils.isNotEmpty(antExAddRequest.getRegistration().getPid())) | |
| 402 | 402 | { |
| 403 | 403 | patientRegistrationFacade.add(antExAddRequest.getRegistration()); |
| 404 | 404 | } |