Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
1c1fc0a4
Commit
1c1fc0a4
authored
Nov 10, 2021
by
xugaojun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【fix】: 修复员工查询问题
parent
053bc077
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+2
-4
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
1c1fc0a4
...
...
@@ -259,12 +259,10 @@ public class StaffApiServiceImpl implements StaffApiService {
// 已关联用已关联id查询
return
relationStaffSet
;
}
logger
.
info
(
"取差集前源集合:{}"
,
JSON
.
toJSONString
(
sourceStaffSet
));
// 未关联 0 , 取原集合与关联集合的-差集
boolean
b
=
sourceStaffSet
.
removeAll
(
relationStaffSet
);
logger
.
info
(
"取差集后源集合:{}"
,
JSON
.
toJSONString
(
sourceStaffSet
));
sourceStaffSet
.
removeAll
(
relationStaffSet
);
// 差集处理成功返回
return
b
?
sourceStaffSet
:
new
HashSet
<>()
;
return
sourceStaffSet
;
}
@Override
...
...
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