From a536879a3093d853a369d1aecf94cf35c25a17fe Mon Sep 17 00:00:00 2001 From: liquanyu Date: Wed, 21 Sep 2016 14:41:55 +0800 Subject: [PATCH] code update --- .../java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java index c1e4fa0..1f4a91e 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java @@ -469,9 +469,13 @@ public class MatDeliverFacade { personModel.setName(babyModel.getName()); personModel.setCreated(new Date()); babyModel.setPid(personService.addPerson(personModel).getId()); + + //儿童建档 + babyBookbuildingFacade.createBuildSms(babyModel); + } babyIds.add(babyService.addOneBaby(babyModel).getId()); - babyBookbuildingFacade.createBuildSms(babyModel); + i++; } maternalDeliverModel.setBaby(babyList); -- 1.8.3.1