package com.kcim.dao.mapper;

import com.kcim.dao.model.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kcim.vo.CommonVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户与角色对应关系
 * 
 * @author huangrui
 * @date 2021-08-03 08:56:22
 */
@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {

    List<CommonVO> getUsersByRoleId(@Param("roleId") Long roleId, @Param("hospId") Long hospId);
}
