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());