Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
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
hubin
long-tern-care-service
Commits
3674b6f9
Commit
3674b6f9
authored
Mar 29, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
bb8dba82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
SystemInterfaceServiceImpl.java
...m/ltc/system/service/impl/SystemInterfaceServiceImpl.java
+3
-1
No files found.
system/system-admin-service/src/main/java/com/hungraim/ltc/system/service/impl/SystemInterfaceServiceImpl.java
View file @
3674b6f9
...
@@ -62,7 +62,9 @@ public class SystemInterfaceServiceImpl extends ServiceImpl<SystemInterfaceMappe
...
@@ -62,7 +62,9 @@ public class SystemInterfaceServiceImpl extends ServiceImpl<SystemInterfaceMappe
List
<
String
>
systemResourceinterfaces
=
new
ArrayList
<>();
List
<
String
>
systemResourceinterfaces
=
new
ArrayList
<>();
resourceinterfaceList
.
stream
().
forEach
(
resourceinterface
->{
resourceinterfaceList
.
stream
().
forEach
(
resourceinterface
->{
List
<
SystemInterface
>
collect
=
systemInterfaces
.
stream
().
filter
(
role2
->
role2
.
getInterfaceId
().
equals
(
resourceinterface
.
getInterfaceId
())).
collect
(
Collectors
.
toList
());
List
<
SystemInterface
>
collect
=
systemInterfaces
.
stream
().
filter
(
role2
->
role2
.
getInterfaceId
().
equals
(
resourceinterface
.
getInterfaceId
())).
collect
(
Collectors
.
toList
());
systemResourceinterfaces
.
add
(
collect
.
get
(
0
).
getInterfaceUrl
());
if
(
collect
.
size
()>
0
)
{
systemResourceinterfaces
.
add
(
collect
.
get
(
0
).
getInterfaceUrl
());
}
});
});
//资源和接口
//资源和接口
stringStringHashMap
.
put
(
roleResource
.
getResourceId
().
toString
(),
systemResourceinterfaces
);
stringStringHashMap
.
put
(
roleResource
.
getResourceId
().
toString
(),
systemResourceinterfaces
);
...
...
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