| package doumeemes.dao.system; | 
|   | 
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
| import doumeemes.dao.system.dto.QuerySystemDictDTO; | 
| import doumeemes.dao.system.dto.QuerySystemMenuDTO; | 
| import doumeemes.dao.system.model.SystemMenu; | 
| import doumeemes.dao.system.vo.SystemMenuListVO; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| import java.util.List; | 
|   | 
| public interface SystemMenuMapper extends BaseMapper<SystemMenu> { | 
|   | 
|     /** | 
|      * 查询列表 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/04/18 18:12 | 
|      */ | 
|     List<SystemMenuListVO> selectManageList(@Param("dto") QuerySystemMenuDTO dto); | 
|   | 
|     /** | 
|      * 根据用户ID查询 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/04/18 18:12 | 
|      */ | 
|     List<SystemMenu> selectByUserId(@Param("userId") Integer userId,@Param("type") Integer type,@Param("companyId") Integer companyId); | 
|   | 
|     /** | 
|      * 根据角色ID查询 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2022/04/18 18:12 | 
|      */ | 
|     List<SystemMenu> selectByRoleId(Integer roleId); | 
|   | 
| } |