Commit 19c2d8c07b2402cb21c63d3dcdb0312e35bf8802
Exists in
master
and in
1 other branch
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 @
19c2d8c
| ... | ... | @@ -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 | } |