package com.zxdmy.excite.system.mapper.cloud.role;

import com.zxdmy.excite.system.entity.cloud.role.CloudRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxdmy.excite.system.entity.req.role.ReqRole;
import com.zxdmy.excite.system.entity.vo.role.RoleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 云盘权限表 Mapper 接口
 * </p>
 *
 * @author ss
 * @since 2026-01-27
 */
@Mapper
public interface CloudRoleMapper extends BaseMapper<CloudRole> {

    ArrayList<RoleVo> queryByPage(@Param("page")Integer pageNo, @Param("size")Integer pageSize, @Param("data") ReqRole data);
    Integer queryByPageCount(@Param("data") ReqRole data);
    RoleVo getData(@Param("data") ReqRole data);
    List<RoleVo> queryByData();

}
