Commit b0c4c38807d2fc8538a31b38902f2c60c078ec57
1 parent
65e4bbbc39
Exists in
master
and in
6 other branches
公共卫生统计
Showing 1 changed file with 4 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientSyncMysqlFacade.java
View file @
b0c4c38
... | ... | @@ -3714,6 +3714,10 @@ |
3714 | 3714 | { |
3715 | 3715 | Map result = new HashMap(); |
3716 | 3716 | BabyModel model = babyBookbuildingService.queryBabyById(visit.getBabyId()); |
3717 | + if (model == null) | |
3718 | + { | |
3719 | + continue; | |
3720 | + } | |
3717 | 3721 | result.put("babyName",model.getName()); |
3718 | 3722 | result.put("babySex",SexEnum.getTextById(model.getSex())); |
3719 | 3723 | result.put("babyWeight",visit.getWeightNow()); |