package com.whyc.mapper; import com.whyc.pojo.Permission; import com.whyc.pojo.RolePermission; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import java.util.List; /** * 角色-权限 */ public interface RolePermissionMapper extends CustomMapper { List getPermissionListByUserId(Integer userId); List getPermissionListByMenuId(Integer roleId, Integer menuId); boolean updateBatch(List rolePermissions); }