添加角色修改
This commit is contained in:
@@ -231,6 +231,9 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> imp
|
|||||||
if (roleAddDTO.cashMenuIdList() != null && !roleAddDTO.cashMenuIdList().isEmpty()) {
|
if (roleAddDTO.cashMenuIdList() != null && !roleAddDTO.cashMenuIdList().isEmpty()) {
|
||||||
addMenu(sysRole.getId(), roleAddDTO.cashMenuIdList(), false);
|
addMenu(sysRole.getId(), roleAddDTO.cashMenuIdList(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return save;
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new ApiNotPrintException("保存失败");
|
throw new ApiNotPrintException("保存失败");
|
||||||
|
|||||||
Reference in New Issue
Block a user