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
d208b68d
Commit
d208b68d
authored
Oct 15, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单查询修改:不管是否是菜单,都查询出来
parent
e7c3f42b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
MenuApiServiceImpl.java
...a/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
+1
-2
No files found.
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/MenuApiServiceImpl.java
View file @
d208b68d
...
...
@@ -689,8 +689,7 @@ public class MenuApiServiceImpl implements MenuApiService {
List
<
MenuDTO
>
list
=
null
;
if
(
level
<
5
)
{
for
(
TabSysMenu
menu
:
menuList
)
{
if
(
level
==
menu
.
getLevel
()
&&
menu
.
getIsShow
().
intValue
()
==
1
&&
menu
.
getParentId
().
intValue
()
==
parentId
)
{
if
(
level
==
menu
.
getLevel
()
&&
menu
.
getParentId
().
intValue
()
==
parentId
)
{
MenuDTO
menuDTO
=
EntityUtil
.
changeEntityByJSON
(
MenuDTO
.
class
,
menu
);
menuDTO
.
setChildren
(
this
.
treeMenu
(
menuList
,
menu
.
getLevel
().
intValue
()
+
1
,
menuDTO
.
getMenuId
()));
if
(
list
==
null
)
{
...
...
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