package com.njzscloud.supervisory.user.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njzscloud.supervisory.user.pojo.SysUserRoleEntity;
import com.njzscloud.supervisory.role.pojo.RoleDetailResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户-角色关系表
 */
@Mapper
public interface SysUserRoleMapper extends BaseMapper<SysUserRoleEntity> {
    List<RoleDetailResult> listRole(@Param("ew") QueryWrapper<SysUserRoleEntity> ew);
}
