From 2a7ca5c922494748090026ff014686d367dd30f3 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Fri, 28 Oct 2022 15:31:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=A8=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operate/web/facade/MatDeliverFacade.java | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) 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 8e025fa..e0f706a 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 @@ -870,11 +870,20 @@ public class MatDeliverFacade { //设置母亲高危因素到儿童档案 babyModel.setmHighRiskReason(patients.getRiskFactorId()); - babyModel.setAreaId(patients.getAreaId()); - babyModel.setProvinceId(patients.getProvinceId()); - babyModel.setCityId(patients.getCityId()); - babyModel.setStreetId(patients.getStreetId()); - babyModel.setAddress(patients.getAddress()); + + babyModel.setBabyProvinceId(patients.getProvinceId()); + babyModel.setBabyCityId(patients.getCityId()); + babyModel.setBabyAreaId(patients.getAreaId()); + babyModel.setBabyStreetId(patients.getStreetId()); + babyModel.setBabyAddress(patients.getAddress()); + + + babyModel.setProvinceId(patients.getProvinceRegisterId()); + babyModel.setCityId(patients.getCityRegisterId()); + babyModel.setAreaId(patients.getAreaRegisterId()); + babyModel.setStreetId(patients.getStreetRegisterId()); + babyModel.setAddress(patients.getAddressRegister()); + //母亲信息 babyModel.setMname(patients.getUsername()); babyModel.setMjob(patients.getPworkUnit()); @@ -885,7 +894,7 @@ public class MatDeliverFacade { babyModel.setLiveType(patients.getPliveTypeId()); babyModel.setMproTypeId(patients.getPprofessionTypeId()); //父亲信息 - babyModel.setFjob(patients.getHworkUnit()); + babyModel.setFwork(patients.getHworkUnit()); babyModel.setFname(patients.getHusbandName()); babyModel.setFphone(patients.getHusbandPhone()); babyModel.setFbirth(patients.getHusbandBirth()); -- 1.8.3.1