Commit 7fa861eb70ae56bafbf1c35afbcd75e5459864f1

Authored by jiangjiazhi
1 parent e472936d12

修改产检删除

Showing 1 changed file with 2 additions and 0 deletions

platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntExRecordService.java View file @ 7fa861e
... ... @@ -63,6 +63,7 @@
63 63 AntExRecordQuery antExRecordQuery = new AntExRecordQuery();
64 64 antExRecordQuery.setParentId(record.getParentId());
65 65 antExRecordQuery.setcId(record.getCheckDoctor());
  66 + antExRecordQuery.setfId(record.getfId());
66 67 Integer count = count(antExRecordQuery);
67 68 if (null == count || 0 == count) {
68 69 antExRecordDao.addOneRecord(record);
... ... @@ -84,6 +85,7 @@
84 85 AntExRecordQuery antExRecordQuery = new AntExRecordQuery();
85 86 antExRecordQuery.setParentId(record.getParentId());
86 87 antExRecordQuery.setcId(record.getCheckDoctor());
  88 + antExRecordQuery.setfId(record.getfId());
87 89 Integer count = count(antExRecordQuery);
88 90 if (null == count || 0 == count) {
89 91 antExRecordDao.addOneRecord(record);