package com.unis.crk.basic.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.unis.crk.basic.entity.RoleInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.unis.crk.basic.entity.UserInfo;
import com.unis.crk.basic.entity.UserRole;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 角色信息表 服务类
 * </p>
 *
 * @author ghh
 * @since 2021-09-26
 */
public interface IRoleInfoService extends IService<RoleInfo> {

    List<RoleInfo> getUserRoleByUserID(String userId);

    Boolean validRoleName(String roleName);
}
