using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace WMS.IData.IBase { public interface IRole { /// /// 获取权限信息 /// /// DataTable GetRoleInfo(); /// /// 根据权限获取关联信息 /// /// 权限编号 /// DataSet GetRoleRelevanceInfo(string RoleId); /// /// 角色权限新增方法 /// /// SQL语句集合 /// int InsertRole(List list, ref string msg); /// /// 获取角色编号 /// /// string GetRoleId(); /// /// 根据用户编号获取角色信息 /// /// 用户编号 /// DataTable GetUserRole(string strUserID); /// /// 获得部门下的 用户角色 /// /// /// /// DataTable GetRoleDataByComIDAndUserID(string userid, string comid); } }