Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
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
base_platform_enterprise
gic-platform-auth
Commits
e59f5962
Commit
e59f5962
authored
Sep 11, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限修复
parent
f71875fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
MenuApiServiceImpl.java
...a/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
+3
-3
No files found.
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
View file @
e59f5962
...
...
@@ -54,7 +54,7 @@ public class MenuApiServiceImpl implements MenuApiService {
private
final
Integer
MENU_LEVEL
=
2
;
private
final
Integer
MENU_LEVEL_MAX
=
5
;
private
final
Integer
DELIMITER
=
5
;
private
final
String
DELIMITER
=
"-"
;
@Autowired
private
MenuService
menuService
;
...
...
@@ -1459,12 +1459,12 @@ public class MenuApiServiceImpl implements MenuApiService {
List
<
GicPositionDTO
>
positionList
=
departMap
.
get
(
departmentCode
);
if
(
CollectionUtils
.
isNotEmpty
(
positionList
))
{
positionList
.
forEach
(
e
->
{
departPosition
.
add
(
departmentCode
+
"-"
+
e
.
getPositionCode
());
departPosition
.
add
(
departmentCode
+
DELIMITER
+
e
.
getPositionCode
());
});
}
}
}
else
{
departPosition
.
add
(
departmentCode
+
"-"
+
gicUserDTO
.
getPositionCode
());
departPosition
.
add
(
departmentCode
+
DELIMITER
+
gicUserDTO
.
getPositionCode
());
}
}
//过滤运营人员的部门职位权限
...
...
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