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
e84aaf92
Commit
e84aaf92
authored
May 27, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/xgh/bug/0527' into 'master'
Feature/xgh/bug/0527 See merge request
!1791
parents
39dc0ba3
755e9408
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
HaobanRoleApiServiceImpl.java
...rvice/service/out/impl/role/HaobanRoleApiServiceImpl.java
+7
-4
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/role/HaobanRoleApiServiceImpl.java
View file @
e84aaf92
...
@@ -307,19 +307,22 @@ public class HaobanRoleApiServiceImpl implements HaobanRoleApiService {
...
@@ -307,19 +307,22 @@ public class HaobanRoleApiServiceImpl implements HaobanRoleApiService {
String
code
=
item
.
getMenuCode
()
;
String
code
=
item
.
getMenuCode
()
;
// 开启的权限
// 开启的权限
if
(
menuCodes
.
contains
(
code
))
{
if
(
menuCodes
.
contains
(
code
))
{
menuCodes
.
add
(
code
)
;
continue
;
continue
;
}
}
// 无需授权的权限
// 无需授权的权限
if
(
0
==
item
.
getAuthControl
()
&&
StringUtils
.
isEmpty
(
item
.
getBtnCodeRel
()))
{
if
(
0
==
item
.
getAuthControl
()
&&
StringUtils
.
isEmpty
(
item
.
getBtnCodeRel
()))
{
menuCodes
.
add
(
code
)
;
if
(!
menuCodes
.
contains
(
code
))
{
menuCodes
.
add
(
code
);
}
continue
;
continue
;
}
}
}
}
for
(
HaobanMenuBO
item
:
allMenuList
)
{
for
(
HaobanMenuBO
item
:
allMenuList
)
{
String
code
=
item
.
getBtnCodeRel
()
;
String
code
=
item
.
getBtnCodeRel
()
;
if
(
0
==
item
.
getAuthControl
()
&&
StringUtils
.
isNotEmpty
(
item
.
getBtnCodeRel
())
&&
menuCodes
.
contains
(
code
))
{
if
(
0
==
item
.
getAuthControl
()
&&
StringUtils
.
isNotEmpty
(
code
)
&&
menuCodes
.
contains
(
code
))
{
menuCodes
.
add
(
code
)
;
if
(!
menuCodes
.
contains
(
item
.
getMenuCode
()))
{
menuCodes
.
add
(
item
.
getMenuCode
());
}
continue
;
continue
;
}
}
}
}
...
...
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