using SSWMS.Common; using System.Collections; using System.Collections.Generic; namespace SSWMS.Server { public class P_SYS_ROLE : P_Base_House { public IList GetListByUser(int iUserID) { return this._sqlMap.QueryForList("SYS_ROLE_SELECT_BY_USER", new Hashtable() { { "USER_ID", iUserID }, { "RELATION_TYPE", SystemCode.RELATION_TYPE.User }, { "ROLE_FLAG", SystemCode.FLAG.Enable } }); } } }