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 32273ec..ae9dce2 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 @@ -109,6 +109,7 @@ public class AntExRecordService { AntExRecordQuery antExRecordQuery = new AntExRecordQuery(); antExRecordQuery.setPid(record.getPid()); antExRecordQuery.setcId(record.getCheckDoctor()); + antExRecordQuery.setfId(record.getfId()); Integer count = count(antExRecordQuery); if (null == count || 0 == count) { antExRecordDao.addOneRecord(record); @@ -130,6 +131,7 @@ public class AntExRecordService { AntExRecordQuery antExRecordQuery = new AntExRecordQuery(); antExRecordQuery.setPid(record.getPid()); antExRecordQuery.setcId(record.getCheckDoctor()); + antExRecordQuery.setfId(record.getfId()); Integer count = count(antExRecordQuery); if (null == count || 0 == count) { antExRecordDao.addOneRecord(record); @@ -212,6 +214,7 @@ public class AntExRecordService { antExRecordModel.setModified(new Date()); antExRecordModel.setBarCode(antEx.getBarCode()); antExRecordModel.setNextCheckTime(antEx.getNextCheckTime()); + antExRecordModel.setCheckTime(antEx.getCheckDate()); Patients patients = patientsService.findOnePatientById(antEx.getParentId()); if (null != patients) { if (patients.getType() == 1) { @@ -252,6 +255,7 @@ public class AntExRecordService { antExRecordModel.setPid(antExChuModel.getPid()); antExRecordModel.setModified(new Date()); antExRecordModel.setBarCode(antExChuModel.getBarCode()); + antExRecordModel.setCheckTime(antExChuModel.getCheckTime()); antExRecordModel.setNextCheckTime(antExChuModel.getNextCheckTime()); Patients patients = patientsService.findOnePatientById(antExChuModel.getParentId()); if (null != patients) {