jiangping
2023-09-21 b471c4d9a01438af23516b622eb4381c15a45073
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 2023/02/14 11:14
     */
    List<SystemRoleListVO> selectManageList(@Param("dto") QuerySystemRoleDTO dto, @Param("orderByClause") String orderByClause);
 
    /**
     * 根据用户ID查询
     * @author Eva.Caesar Liu
     * @date 2023/02/14 11:14
     */
    List<SystemRole> selectByUserId(Integer userId);
 
}