package com.doumee.dao.system; 
 | 
  
 | 
import com.baomidou.mybatisplus.core.mapper.BaseMapper; 
 | 
import com.doumee.dao.system.dto.QuerySystemRoleDTO; 
 | 
import com.doumee.dao.system.model.SystemRole; 
 | 
import com.doumee.dao.system.vo.SystemRoleListVO; 
 | 
import org.apache.ibatis.annotations.Param; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
public interface SystemRoleMapper extends BaseMapper<SystemRole> { 
 | 
  
 | 
    /** 
 | 
     * 查询角色列表 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2022/03/15 09:54 
 | 
     */ 
 | 
    List<SystemRoleListVO> selectManageList(@Param("dto") QuerySystemRoleDTO dto, @Param("orderByClause") String orderByClause); 
 | 
  
 | 
    /** 
 | 
     * 根据用户ID查询 
 | 
     * @author Eva.Caesar Liu 
 | 
     * @date 2022/03/15 09:54 
 | 
     */ 
 | 
    List<SystemRole> selectByUserId(String userId); 
 | 
  
 | 
} 
 |