Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
b0362422
Commit
b0362422
authored
Jun 15, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huyc 角色菜单相关接口修改
parent
c9c13b5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
SysRoleMenuServiceImpl.java
...us.v1/yifu/admin/service/impl/SysRoleMenuServiceImpl.java
+0
-7
No files found.
yifu-upms/yifu-upms-biz/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/service/impl/SysRoleMenuServiceImpl.java
View file @
b0362422
...
...
@@ -52,8 +52,6 @@ public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRo
private
final
CacheManager
cacheManager
;
private
final
SysRoleService
sysRoleService
;
/**
* @param roleId 角色
* @param menuIds 菜单ID拼成的字符串,每个id之间根据逗号分隔
...
...
@@ -62,11 +60,6 @@ public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRo
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Boolean
saveRoleMenus
(
Long
roleId
,
String
menuIds
)
{
SysRole
sysRole
=
sysRoleService
.
getById
(
roleId
);
String
roleType
=
"0"
;
// 系统内置
Assert
.
state
(!
roleType
.
equals
(
sysRole
.
getSystemFlag
()),
MsgUtils
.
getMessage
(
ErrorCodes
.
SYS_ROLE_UPDATE_SYSTEM
));
this
.
remove
(
Wrappers
.<
SysRoleMenu
>
query
().
lambda
().
eq
(
SysRoleMenu:
:
getRoleId
,
roleId
));
if
(
StrUtil
.
isBlank
(
menuIds
))
{
...
...
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