package com.muchinfo.mtp3interface.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.muchinfo.mtp3pojos.entity.Systemmanagerrole;
import com.muchinfo.mtp3pojos.vo.SystemRoleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色表 Mapper 接口
 * </p>
 *
 * @author XKF
 * @since 2024-04-16
 */
@Mapper
public interface ISystemmanagerroleMapper extends BaseMapper<Systemmanagerrole> {

    List<Systemmanagerrole> getRoleLsitByUserid(@Param("autoid") Long autoid);

    IPage<SystemRoleVo> selectByPage(IPage<SystemRoleVo> page, @Param("systemRoleVo") SystemRoleVo systemRoleVo);

    List<SystemRoleVo> selectByPage( @Param("systemRoleVo") SystemRoleVo systemRoleVo);
}
