Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
da7ca871
Commit
da7ca871
authored
Aug 01, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_dl_plan6_temp' of…
Merge branch 'develop_dl_plan6_temp' of
http://39.98.45.134:8090/moa/amos-boot-biz
into develop_dl_plan6_temp
parents
43ab74de
6773d17b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
CheckServiceImpl.java
...n/amos/patrol/business/service/impl/CheckServiceImpl.java
+29
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/CheckServiceImpl.java
View file @
da7ca871
...
@@ -218,6 +218,35 @@ public class CheckServiceImpl implements ICheckService {
...
@@ -218,6 +218,35 @@ public class CheckServiceImpl implements ICheckService {
return
new
PageImpl
<>(
content
,
param
,
total
);
return
new
PageImpl
<>(
content
,
param
,
total
);
}
}
content
=
checkMapper
.
getCheckInfoNew
(
param
);
content
=
checkMapper
.
getCheckInfoNew
(
param
);
if
(!
CollectionUtils
.
isEmpty
(
content
))
{
Set
<
String
>
userIds
=
Sets
.
newHashSet
(
Lists
.
transform
(
content
,
CheckInfoVo:
:
getUserId
));
Set
<
String
>
deptIds
=
Sets
.
newHashSet
(
Lists
.
transform
(
content
,
CheckInfoVo:
:
getDepId
));
deptIds
.
remove
(
""
);
deptIds
.
remove
(
null
);
String
joinUserId
=
""
;
for
(
String
userId:
userIds
)
{
if
(!
ObjectUtils
.
isEmpty
(
userId
)){
joinUserId
=
joinUserId
+
userId
+
","
;
}
}
Map
<
String
,
String
>
deptMap
=
new
HashMap
<
String
,
String
>();
Map
<
String
,
String
>
deptMapNew
=
deptMap
;
List
<
String
>
userNames
=
new
ArrayList
<>();
content
.
forEach
(
e
->
{
userNames
.
clear
();
List
<
String
>
userIds1
=
Arrays
.
asList
(
e
.
getUserId
().
split
(
","
));
for
(
String
userId
:
userIds1
){
FeignClientResult
result
=
jcsFeignClient
.
selectById
(
userId
);
Object
result1
=
result
.
getResult
();
String
personName
=
((
Map
<
String
,
Object
>)
result1
).
get
(
"personName"
).
toString
();
userNames
.
add
(
personName
);
}
userNames
.
remove
(
null
);
e
.
setUserName
(
Joiner
.
on
(
","
).
join
(
userNames
));
});
}
return
new
PageImpl
<>(
content
,
param
,
total
);
return
new
PageImpl
<>(
content
,
param
,
total
);
}
}
...
...
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