/*
 * Copyright (c) 2019, PANNK and/or its affiliates. All rights reserved.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */
package com.pannk.mms.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pannk.mms.modules.sys.entity.SysRoleEntity;

import java.util.List;

/**
 * 系统角色服务
 *
 * @author：wolf
 **/
public interface SysRoleService extends IService<SysRoleEntity> {

    /**
     * 查询用户角色
     * @param userId 用户id
     * @return
     */
    List<SysRoleEntity> queryUserRole(Long userId);
}
