You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
546 B
19 lines
546 B
using SSWMS.Common;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SSWMS.Server
|
|
{
|
|
public class P_SYS_ROLE : P_Base_House<SYS_ROLE>
|
|
{
|
|
public IList<SYS_ROLE> GetListByUser(int iUserID)
|
|
{
|
|
return this._sqlMap.QueryForList<SYS_ROLE>("SYS_ROLE_SELECT_BY_USER", new Hashtable()
|
|
{
|
|
{ "USER_ID", iUserID },
|
|
{ "RELATION_TYPE", SystemCode.RELATION_TYPE.User },
|
|
{ "ROLE_FLAG", SystemCode.FLAG.Enable }
|
|
});
|
|
}
|
|
}
|
|
}
|