无关风月
2024-12-09 2053b8fe0e98d4b4449bc756a93ced78f42277c4
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
28
29
30
31
32
33
34
35
package com.jilongda.manage.authority.mapper;
 
import com.jilongda.manage.authority.model.SecResources;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jilongda.manage.authority.vo.SecResourceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * <p>
 * 资源表 Mapper 接口
 * </p>
 *
 * @author xiaochen
 * @since 2022-06-08
 */
@Mapper
public interface SecResourcesMapper extends BaseMapper<SecResources> {
 
    /**
     * 根据uid获取资源
     *
     * @param uid 管理员id
     * @return 用户资源
     */
    List<SecResources> selectResourceByUid(@Param("uid")Long uid);
 
    List<SecResourceVO> getList(@Param("rid")Long rid);
 
    List<SecResourceVO> allList();
 
 
}