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();
|
|
|
}
|