package com.storlead.user.service;

import com.storlead.framework.mybatis.service.MyBaseService;
import com.storlead.user.pojo.entity.DeptRoleEntity;

import java.util.Set;

/**
 * <p>
 * 部门角色权限 服务类
 * </p>
 *
 * @author chenkq
 * @since 2024-04-02
 */
public interface DeptRoleService extends MyBaseService<DeptRoleEntity> {

    /**
     * 更新角色绑定部门信息
     * @param roleId 角色id
     * @param deptIds 菜单Ids
     */
    void updateDeptRole(Long roleId, Set<Long> deptIds);
}
