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
52ad4b6a
Commit
52ad4b6a
authored
Sep 26, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取用户详情接口修复
parent
eb171064
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
TabSysMenuMapper.xml
...th-service/src/main/resources/mapper/TabSysMenuMapper.xml
+1
-2
RoleController.java
...main/java/com/gic/auth/web/controller/RoleController.java
+5
-1
No files found.
gic-platform-auth-service/src/main/resources/mapper/TabSysMenuMapper.xml
View file @
52ad4b6a
...
...
@@ -382,9 +382,8 @@
<include
refid=
"Base_Column_List"
/>
from tab_sys_menu
where status=1
and level = 1
and menu_type = 0
and project != 'gic'
<include
refid=
"tree_filter"
></include>
<if
test=
"null != projectList and projectList.size() > 0"
>
and project in
<foreach
collection=
"projectList"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
...
...
gic-platform-auth-web/src/main/java/com/gic/auth/web/controller/RoleController.java
View file @
52ad4b6a
...
...
@@ -109,7 +109,11 @@ public class RoleController {
@RequestMapping
(
"/list-app-menu-tree"
)
public
RestResponse
listAppMenuTree
()
{
return
ResultControllerUtils
.
commonResult
(
menuApiService
.
listAppPageOfHasBuy
(),
AppMenuVO
.
class
);
ServiceResponse
<
List
<
MenuDTO
>>
result
=
menuApiService
.
listAppPageOfHasBuy
();
if
(
result
.
isSuccess
())
{
return
RestResponse
.
success
(
changeListToTree
(
MenuLevelConstants
.
FIRST_LEVEL_PARENT_ID
,
result
.
getResult
()));
}
return
EnterpriseRestResponse
.
failure
(
result
);
}
public
static
List
<
Map
<
String
,
Object
>>
changeListToTree
(
int
storeGroupId
,
List
<
MenuDTO
>
list
)
{
...
...
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