package com.doumee.dao.system; 
 | 
  
 | 
import com.baomidou.mybatisplus.core.mapper.BaseMapper; 
 | 
import com.doumee.dao.system.model.SystemMenu; 
 | 
import com.doumee.dao.system.vo.SystemMenuListVO; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
public interface SystemMenuMapper extends BaseMapper<SystemMenu> { 
 | 
  
 | 
    /** 
 | 
     * 查询列表 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2023/03/21 14:49 
 | 
     */ 
 | 
    List<SystemMenuListVO> selectManageList(SystemMenu menu); 
 | 
  
 | 
    /** 
 | 
     * 根据用户ID查询 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2023/03/21 14:49 
 | 
     */ 
 | 
    List<SystemMenu> selectByUserId(Integer userId); 
 | 
  
 | 
    /** 
 | 
     * 根据角色ID查询 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2023/03/21 14:49 
 | 
     */ 
 | 
    List<SystemMenu> selectByRoleId(Integer roleId); 
 | 
  
 | 
} 
 |