package com.reyun.saas.mob.user.dao;

import com.reyun.saas.common.core.Mapper;
import com.reyun.saas.mob.user.domain.MenuRight;
import com.reyun.saas.mob.user.dto.MenuDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuRightMapper extends Mapper<MenuRight> {
    List<MenuDTO> getAllMenus();

    List<MenuRight> getUserMenus(@Param("userId") Long userId);
}