package com.ycl.mapper.user; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ycl.entity.user.UmsMenu; import com.ycl.entity.user.vo.UmsMenuVo; import org.apache.ibatis.annotations.Param; import java.util.List; /** *

* 后台菜单表 Mapper 接口 *

* * @author macro * @since 2020-08-21 */ public interface UmsMenuMapper extends BaseMapper { /** * 根据后台用户ID获取菜单 */ List getMenuList(@Param("adminId") Long adminId); /** * 根据角色ID获取菜单 */ List getMenuListByRoleId(@Param("roleId") Long roleId); List adminMenuRelation(@Param("id") Long id); }