Commit d5a2c815 authored by 赵啸非's avatar 赵啸非

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

parent 68403cdd
......@@ -707,11 +707,10 @@ public class AttendanceRecordHikServiceImpl extends AbstractCRUDServiceImpl<Atte
public void deletFakeRecord(AttendanceRecordHikQuery recordHikQuery, Context context) {
//重新拉去的考勤记录,判断是否存在虚增的记录
log.info("开始删除虚增的记录!");
// todo 只删除多条重复的记录
recordHikQuery.setEventSource("当日未有记录虚增考勤记录!");
return;
/* List<AttendanceRecordHikEntity> fackAttendlist = this.find(recordHikQuery);
//只删除多条重复的记录
/* recordHikQuery.setEventSource("当日未有记录虚增考勤记录!");
List<AttendanceRecordHikEntity> fackAttendlist = this.find(recordHikQuery);
if (!ObjectUtils.isEmpty(fackAttendlist)) {
log.info("虚增的记录:{}", fackAttendlist.size());
for (AttendanceRecordHikEntity recordHikEntity : fackAttendlist) {
......@@ -725,7 +724,7 @@ public class AttendanceRecordHikServiceImpl extends AbstractCRUDServiceImpl<Atte
if (count > 0) {
//删除当前虚增的记录
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