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 dca9979a
authored
Apr 12, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
返回菜单权限标识
1 parent
a839cf2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
src/main/java/cn/com/glsx/shield/modules/model/MenuModel.java
src/main/resources/mapper/MenuMapper.xml
src/main/java/cn/com/glsx/shield/modules/model/MenuModel.java
View file @
dca9979
...
...
@@ -16,6 +16,7 @@ public class MenuModel implements Serializable {
private
Integer
type
;
private
String
icon
;
private
String
frontRoute
;
private
String
permissionTag
;
private
Integer
orderNum
;
private
boolean
hasChildren
;
private
boolean
checked
;
...
...
src/main/resources/mapper/MenuMapper.xml
View file @
dca9979
...
...
@@ -142,7 +142,10 @@
</select>
<select
id=
"selectMenuTreeByParentId"
resultType=
"cn.com.glsx.shield.modules.model.MenuModel"
>
select m.menu_no menuNo,m.parent_id parentId,m.menu_name menuName,m.order_num orderNum,m.type,m.icon
select m.menu_no menuNo,m.parent_id parentId,
m.menu_name menuName,
m.permission_tag permissionTag,
m.order_num orderNum,m.type,m.icon
from t_menu m,t_role_menu rm
where m.menu_no = rm.menu_id
and m.del_flag = 0
...
...
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