From 11a0d7e238e723e564b08352d7dfaf9762a1d9e2 Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Thu, 29 Dec 2016 11:34:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=A7=E6=A3=80=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/biz/service/AntExRecordService.java | 24 ++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntExRecordService.java b/platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntExRecordService.java index f120b4c..3c7efb0 100644 --- a/platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntExRecordService.java +++ b/platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntExRecordService.java @@ -210,6 +210,8 @@ public class AntExRecordService { antExRecordModel.setCheckTime(antEx.getCheckDate()); antExRecordModel.setPid(antEx.getPid()); antExRecordModel.setModified(new Date()); + antExRecordModel.setBarCode(antEx.getBarCode()); + antExRecordModel.setNextCheckTime(antEx.getNextCheckTime()); Patients patients = patientsService.findOnePatientById(antEx.getParentId()); if (null != patients) { if (patients.getType() == 1) { @@ -217,6 +219,14 @@ public class AntExRecordService { } else { antExRecordModel.setStatus(1); } + antExRecordModel.setAddressRegister(patients.getAddressRegister()); + antExRecordModel.setProvinceRegisterId(patients.getProvinceRegisterId()); + antExRecordModel.setCityRegisterId(patients.getCityRegisterId()); + antExRecordModel.setAreaRegisterId(patients.getAreaRegisterId()); + antExRecordModel.setStreetRegisterId(patients.getStreetRegisterId()); + antExRecordModel.setBuildDoctor(patients.getBookbuildingDoctor()); + antExRecordModel.setDueDate(patients.getDueDate()); + antExRecordModel.setPhone(patients.getPhone()); antExRecordModel.setBrith(patients.getBirth()); antExRecordModel.setBuildTime(patients.getBookbuildingDate()); antExRecordModel.setLastMenses(patients.getLastMenses()); @@ -241,6 +251,8 @@ public class AntExRecordService { antExRecordModel.setfId(antExChuModel.getId()); antExRecordModel.setPid(antExChuModel.getPid()); antExRecordModel.setModified(new Date()); + antExRecordModel.setBarCode(antExChuModel.getBarCode()); + antExRecordModel.setNextCheckTime(antExChuModel.getNextCheckTime()); Patients patients = patientsService.findOnePatientById(antExChuModel.getParentId()); if (null != patients) { if (patients.getType() == 1) { @@ -248,10 +260,18 @@ public class AntExRecordService { } else { antExRecordModel.setStatus(1); } - antExRecordModel.setLastMenses(patients.getLastMenses()); - antExRecordModel.setBuildTime(patients.getBookbuildingDate()); + antExRecordModel.setAddressRegister(patients.getAddressRegister()); + antExRecordModel.setProvinceRegisterId(patients.getProvinceRegisterId()); + antExRecordModel.setCityRegisterId(patients.getCityRegisterId()); + antExRecordModel.setAreaRegisterId(patients.getAreaRegisterId()); + antExRecordModel.setStreetRegisterId(patients.getStreetRegisterId()); + antExRecordModel.setBuildDoctor(patients.getBookbuildingDoctor()); antExRecordModel.setDueDate(patients.getDueDate()); + antExRecordModel.setPhone(patients.getPhone()); antExRecordModel.setBrith(patients.getBirth()); + antExRecordModel.setBuildTime(patients.getBookbuildingDate()); + antExRecordModel.setLastMenses(patients.getLastMenses()); + antExRecordModel.setDueDate(patients.getDueDate()); antExRecordModel.setName(patients.getUsername()); antExRecordModel.sethScore(patients.getRiskScore()); antExRecordModel.sethRisk(patients.getRiskFactorId()); -- 1.8.3.1