package com.manage.dao;

import com.manage.vo.Power_UserAndRoleTree;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PowerMapper {
    List<Power_UserAndRoleTree> getUserTree(@Param("userId")Integer userId,@Param("key")String key);

    List<Power_UserAndRoleTree> getRoleTree(@Param("userId")Integer userId,@Param("roleId")Integer roleId,@Param("key")String key);
}
