|  |  | 
 |  |  | package com.zy.asrs.wcs.sys.mapper; | 
 |  |  |  | 
 |  |  | import com.zy.asrs.wcs.sys.entity.RoleMenu; | 
 |  |  | import com.baomidou.mybatisplus.annotation.InterceptorIgnore; | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.zy.asrs.wcs.sys.entity.Menu; | 
 |  |  | import com.zy.asrs.wcs.sys.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("menuType") Integer menuType); | 
 |  |  |  | 
 |  |  | } |