sunshine
2024-11-05 53bd8a8d8184b3f19695b756ee78f343cdb9b9b9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.nova.sankuai.infra.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nova.sankuai.domain.entity.Role;
import com.nova.sankuai.domain.vo.RoleVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
 
import java.util.List;
 
 
/**
 * @author weikangdi
 */
@Component
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    /**
     * 获取角色权限列表
     * @return
     */
    List<RoleVo> getRoleList();
}