Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-usercenter
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8ea9aa7a
authored
Nov 07, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加根据用户和权限标识查询菜单接口
1 parent
13827f1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/main/resources/mapper/MenuMapper.xml
src/main/resources/mapper/MenuMapper.xml
View file @
8ea9aa7
...
@@ -186,7 +186,11 @@
...
@@ -186,7 +186,11 @@
</select>
</select>
<select
id=
"getMenuByPermissionTag"
resultType=
"cn.com.glsx.usercenter.api.dto.response.MenuDto"
>
<select
id=
"getMenuByPermissionTag"
resultType=
"cn.com.glsx.usercenter.api.dto.response.MenuDto"
>
select turr.user_id, turr.role_id, tm.menu_no, tm.menu_name, tm.permission_tag
select turr.user_id as userId ,
turr.role_id as roleId,
tm.menu_no as menuNo,
tm.menu_name as menuName,
tm.permission_tag as permissionTag
from t_role_menu trm
from t_role_menu trm
left join t_menu tm on trm.menu_id = tm.menu_no
left join t_menu tm on trm.menu_id = tm.menu_no
left join t_user_role_relation turr on trm.role_id = turr.role_id
left join t_user_role_relation turr on trm.role_id = turr.role_id
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment