package com.yuanchu.limslaboratory.service; import com.yuanchu.limslaboratory.pojo.dto.GetAllRoleAndMenuByConditionPageDto; import com.yuanchu.limslaboratory.pojo.dto.RoleAndMenuDto; import com.yuanchu.limslaboratory.pojo.dto.RoleInfoDto; import com.yuanchu.limslaboratory.pojo.dto.UpdateRoleMenuDto; import java.util.List; import java.util.Map; /** * @Author 张宾 * @Date 2023/8/23 */ public interface RoleManagerService { Object getMenusTree(); boolean addRoleInfo(RoleInfoDto dto); boolean assertRepeat(String roleName); Map getAllRoleAndMenuInfo(GetAllRoleAndMenuByConditionPageDto dto); boolean deleteRole(Long id); boolean updateRoleMenu(UpdateRoleMenuDto dto); RoleAndMenuDto getRoleAndMenuByRole(Long roleId); List> getUserListRole(); Map getUrlType(String url); boolean hasUrl(String type,String menuId,String roleId); }