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
da1ce3ed
Commit
da1ce3ed
authored
Jan 18, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加缺勤自定义天数计算
parent
f5ff99dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/service/impl/AttendanceRecordHikServiceImpl.java
...tendance/service/impl/AttendanceRecordHikServiceImpl.java
+1
-1
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/service/impl/AttendanceRecordHikServiceImpl.java
View file @
da1ce3ed
...
@@ -721,7 +721,7 @@ public class AttendanceRecordHikServiceImpl extends AbstractCRUDServiceImpl<Atte
...
@@ -721,7 +721,7 @@ public class AttendanceRecordHikServiceImpl extends AbstractCRUDServiceImpl<Atte
@Override
@Override
public
void
buildCustomHikRecord
(
AttendanceRecordHikQuery
recordHikQuery
,
Context
context
)
{
public
void
buildCustomHikRecord
(
AttendanceRecordHikQuery
recordHikQuery
,
Context
context
)
{
Set
<
Long
>
attendStaffSet
=
this
.
find
(
recordHikQuery
).
stream
().
map
(
i
->
i
.
getStaffId
()).
distinct
().
collect
(
Collectors
.
toSet
());
Set
<
Long
>
attendStaffSet
=
this
.
find
(
recordHikQuery
).
stream
().
map
(
i
->
i
.
getStaffId
()).
collect
(
Collectors
.
toSet
());
Map
<
Long
,
List
<
AttendanceGroupStaffEntity
>>
groupStaffCollect
=
attendanceGroupStaffService
.
find
(
new
AttendanceGroupStaffQuery
()).
stream
().
collect
(
Collectors
.
groupingBy
(
x
->
x
.
getGroupId
()));
Map
<
Long
,
List
<
AttendanceGroupStaffEntity
>>
groupStaffCollect
=
attendanceGroupStaffService
.
find
(
new
AttendanceGroupStaffQuery
()).
stream
().
collect
(
Collectors
.
groupingBy
(
x
->
x
.
getGroupId
()));
Iterator
<
Map
.
Entry
<
Long
,
List
<
AttendanceGroupStaffEntity
>>>
iterator
=
groupStaffCollect
.
entrySet
().
iterator
();
Iterator
<
Map
.
Entry
<
Long
,
List
<
AttendanceGroupStaffEntity
>>>
iterator
=
groupStaffCollect
.
entrySet
().
iterator
();
while
(
iterator
.
hasNext
())
{
while
(
iterator
.
hasNext
())
{
...
...
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