Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
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
TCM
tcm-system
Commits
8978b1e8
Commit
8978b1e8
authored
May 20, 2019
by
zjy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user/role/tright 5.20
需要增加Token 完成
parent
b4c46c1b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
RoleServiceImpl.java
.../pangding/web/authority/service/impl/RoleServiceImpl.java
+1
-9
No files found.
src/main/java/com/pangding/web/authority/service/impl/RoleServiceImpl.java
View file @
8978b1e8
...
...
@@ -209,15 +209,7 @@ public class RoleServiceImpl implements RoleService {
roleGetReqVo
.
setId
(
roleVo
.
getId
());
List
<
RoleVo
>
childList
=
roleDao
.
getChild
(
roleGetReqVo
);
for
(
RoleVo
child:
childList
)
{
roleDao
.
remove
(
child
);
RoleAuthorityGetReqVo
reqVo1
=
new
RoleAuthorityGetReqVo
();
reqVo1
.
setRoleId
(
child
.
getId
());
List
<
RoleAuthorityVo
>
roleAuthorityList2
=
roleAuthorityDaoImpl
.
getRoleAuthorityList
(
reqVo1
);
if
(
roleAuthorityList2
!=
null
&&
roleAuthorityList2
.
size
()
!=
0
){
for
(
RoleAuthorityVo
roleAuthority:
roleAuthorityList
)
{
roleAuthorityDaoImpl
.
remove
(
roleAuthority
);
}
}
this
.
deleteRole
(
child
);
}
}
...
...
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