Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
6374ec29
Commit
6374ec29
authored
Oct 11, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理代码
parent
d9919c96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/service/work/FixWorkOtherAttendance.java
...odule/attendance/service/work/FixWorkOtherAttendance.java
+4
-4
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/service/work/FixWorkOtherAttendance.java
View file @
6374ec29
...
@@ -493,8 +493,8 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
...
@@ -493,8 +493,8 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
Long
[]
errorIds
=
delErrorList
.
stream
().
map
(
i
->
i
.
getId
()).
toArray
(
Long
[]::
new
);
Long
[]
errorIds
=
delErrorList
.
stream
().
map
(
i
->
i
.
getId
()).
toArray
(
Long
[]::
new
);
if
(!
ObjectUtils
.
isEmpty
(
errorIds
))
{
if
(!
ObjectUtils
.
isEmpty
(
errorIds
))
{
//log.info("删除 {} 人员:{} 异常记录:{}",dateStr,staffId, JSON.toJSONString(attendanceRecordErrorEntities));
//log.info("删除 {} 人员:{} 异常记录:{}",dateStr,staffId, JSON.toJSONString(attendanceRecordErrorEntities));
StopWatch
stopWatch
=
new
StopWatch
();
//
StopWatch stopWatch = new StopWatch();
stopWatch
.
start
(
"删除异常记录耗时"
);
//
stopWatch.start("删除异常记录耗时");
//todo 耗时长,删除优化
//todo 耗时长,删除优化
errorService
.
getDao
().
delete
(
errorIds
);
errorService
.
getDao
().
delete
(
errorIds
);
/*
/*
...
@@ -547,8 +547,8 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
...
@@ -547,8 +547,8 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
}
}
}
}
}
}
stopWatch
.
stop
();
//
stopWatch.stop();
log
.
info
(
"删除异常记录耗时:{}ms"
,
stopWatch
.
getLastTaskTimeMillis
());
//
log.info("删除异常记录耗时:{}ms", stopWatch.getLastTaskTimeMillis());
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment