Commit 42b623c8 authored by 赵啸非's avatar 赵啸非

整理代码

parent 9ad9802e
......@@ -453,9 +453,9 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
}
}
//删除当前员工当日未处理的异常后,重新添加 处理的 不做删除
deleteErrorRecord(dateStr, attendanceRecordEntity.getStaffId(), context);
//deleteErrorRecord(dateStr, attendanceRecordEntity.getStaffId(), context);
//todo 级联删除优化 耗时50秒
//deleteErrorRecordCache(attendanceRecordEntity.getStaffId(), context);
deleteErrorRecordCache(attendanceRecordEntity.getStaffId(), context);
if (!ObjectUtils.isEmpty(errorEntityList)) {
//过滤异常列表中存在相同的记录
errorEntityList = errorEntityList.stream().distinct().collect(Collectors.toList());
......
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