Commit 12bccbbf authored by 赵啸非's avatar 赵啸非

修改 请假记录 每人考勤显示

parent a4955f09
...@@ -707,6 +707,7 @@ public class AttendanceRecordHikServiceImpl extends AbstractCRUDServiceImpl<Atte ...@@ -707,6 +707,7 @@ public class AttendanceRecordHikServiceImpl extends AbstractCRUDServiceImpl<Atte
public void deletFakeRecord(AttendanceRecordHikQuery recordHikQuery, Context context) { public void deletFakeRecord(AttendanceRecordHikQuery recordHikQuery, Context context) {
//重新拉去的考勤记录,判断是否存在虚增的记录 //重新拉去的考勤记录,判断是否存在虚增的记录
log.info("开始删除虚增的记录!"); log.info("开始删除虚增的记录!");
//只删除多条重复的记录
recordHikQuery.setEventSource("当日未有记录虚增考勤记录!"); recordHikQuery.setEventSource("当日未有记录虚增考勤记录!");
List<AttendanceRecordHikEntity> fackAttendlist = this.find(recordHikQuery); List<AttendanceRecordHikEntity> fackAttendlist = this.find(recordHikQuery);
if (!ObjectUtils.isEmpty(fackAttendlist)) { if (!ObjectUtils.isEmpty(fackAttendlist)) {
...@@ -722,7 +723,7 @@ public class AttendanceRecordHikServiceImpl extends AbstractCRUDServiceImpl<Atte ...@@ -722,7 +723,7 @@ public class AttendanceRecordHikServiceImpl extends AbstractCRUDServiceImpl<Atte
if (count > 0) { if (count > 0) {
//删除当前虚增的记录 //删除当前虚增的记录
log.info("删除虚增的记录:{}", recordHikEntity.getId()); log.info("删除虚增的记录:{}", recordHikEntity.getId());
this.remove(recordHikEntity.getId(), context); // this.remove(recordHikEntity.getId(), context);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment