package com.njzscloud.supervisory.sys.role.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.njzscloud.supervisory.sys.role.pojo.entity.RoleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>sys_role</p>
 * <p>角色表</p>
 */
@Mapper
public interface RoleMapper extends BaseMapper<RoleEntity> {

    /**
     * 分页查询
     */
    IPage<RoleEntity> paging(IPage<RoleEntity> page, @Param(Constants.WRAPPER) Wrapper<RoleEntity> ew);
}
