| package com.zy.asrs.wcs.system.mapper; | 
|   | 
| import com.baomidou.mybatisplus.annotation.InterceptorIgnore; | 
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
| import com.zy.asrs.wcs.system.entity.Menu; | 
| import com.zy.asrs.wcs.system.entity.RoleMenu; | 
| import org.apache.ibatis.annotations.Mapper; | 
| import org.apache.ibatis.annotations.Param; | 
| import org.springframework.stereotype.Repository; | 
|   | 
| import java.util.List; | 
|   | 
| @Mapper | 
| @Repository | 
| public interface RoleMenuMapper extends BaseMapper<RoleMenu> { | 
|   | 
|     @InterceptorIgnore(tenantLine = "true") | 
|     List<Menu> listMenuByUserId(@Param("userId") Long userId, @Param("type") Integer menuType); | 
|   | 
|     List<Long> listStrictlyMenuByRoleId(@Param("roleId") Long roleId); | 
|   | 
| } |