public interface SysRoleMenuService extends ExtendService<SysRoleMenu>
角色菜单表 服务类
DEFAULT_BATCH_SIZE| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteByMenuId(Serializable menuId)
根据权限ID删除角色权限关联数据
|
void |
deleteByRoleCode(String roleCode)
根据角色标识删除角色权限关联关系
|
Boolean |
saveRoleMenus(String roleCode,
Long[] menuIds)
更新角色菜单
|
int |
updateMenuId(Long originalId,
Long menuId)
更新某个菜单的 id
|
getBaseMapper, getById, getEntityClass, list, listByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeBatchByIds, removeById, removeById, removeById, removeByIds, removeByIds, save, saveBatch, saveBatch, saveBatchSomeColumn, saveBatchSomeColumn, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, updateBatchById, updateBatchById, updateByIdBoolean saveRoleMenus(String roleCode, Long[] menuIds)
roleCode - 角色menuIds - 权限ID数组void deleteByMenuId(Serializable menuId)
menuId - 权限IDvoid deleteByRoleCode(String roleCode)
roleCode - 角色标识Copyright © 2023. All rights reserved.