using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Model.ModelDto.SysDto;
using WMS.Entity.SysEntity;
namespace WMS.IBLL.ISysServer
{
///
/// 角色权限服务方法
///
public interface IRoleRightServer
{
///
/// 获取用户的菜单权限 ----csc
///
/// 用户Id
///
List GetRoleMenuList(int userId);
///
/// 获取角色权限信息列表
/// 多表:角色权限、角色、菜单
///
///
List GetRoleRightList();
///
/// 获取角色权限信息列表(单表)
///
/// 角色权限id
///
List GetRoleRightOneListById(int id);
///
/// 根据角色号获取角色权限信息列表(单表)
///
/// 角色号
///
List GetRoleRightOneListByNo(string roleno);
///
/// 新增角色权限信息
///
/// 菜单号
/// 角色号
///
Task InsertRoleRight(string MenuNo, string RoleNo,string userId);
///
/// 删除角色权限信息
///
/// 角色号
///
Task DeleteRoleRight(string roleNo);
}
}