Commit 00e917a467fcb5f63ec2a2fa3add528ca0dbcb33
1 parent
127b751ffb
Exists in
master
and in
1 other branch
儿童建档
Showing 1 changed file with 9 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
00e917a
... | ... | @@ -282,6 +282,15 @@ |
282 | 282 | personService.updatePerson(pm,pm.getId()); |
283 | 283 | } |
284 | 284 | } |
285 | + | |
286 | + if (patients == null) | |
287 | + { | |
288 | + //添加产妇建档 | |
289 | + Patients patient = getPatientsData(request); | |
290 | + patient.setPid(pm.getId()); | |
291 | + patient.setCreated(new Date()); | |
292 | + patients = yunBookbuildingService.addPregnantBookbuilding(patient); | |
293 | + } | |
285 | 294 | } |
286 | 295 | |
287 | 296 | } |