package cn.sh.stc.sict.cloud.upms.dao;

import cn.sh.stc.sict.cloud.upms.model.HpMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 系统菜单表
 *
 * @author F_xh
 * @date 2021-01-07 09:26:00
 */
@Mapper
public interface HpMenuMapper extends BaseMapper<HpMenu> {

    List<HpMenu> listByRoleId(Long roleId);

    List<HpMenu> listByUserId(Long userId);
}
