/// <summary> /// 获取DeptUserDomain /// </summary> /// <param name="deptID"></param> /// <returns></returns> protected virtual List <CasDeptUserEntity> GetDeptUserDomainByDeptID(string deptID) { eContract.Common.Utils.QueryCondition qCondition = eContract.Common.Utils.QueryCondition.Create().Equals(CasDeptUserTable.C_DEPT_ID, deptID); return(SelectByCondition <CasDeptUserEntity>(qCondition)); }
/// <summary> /// 根据用户userid获取SecUserRoleEntity集 /// </summary> /// <param name="userid"></param> /// <returns></returns> public virtual List <SecUserRoleEntity> GetBusinessRoleUserDomainByUserid(string userid) { eContract.Common.Utils.QueryCondition qCondition = eContract.Common.Utils.QueryCondition.Create().Equals(SecUserRoleTable.C_USER_ID, userid); return(SelectByCondition <SecUserRoleEntity>(qCondition)); }
/// <summary> /// 获取functionRoleDomain /// </summary> /// <param name="roleID"></param> /// <returns></returns> public List <CasUserEntity> GetAllUsers() { eContract.Common.Utils.QueryCondition qCondition = eContract.Common.Utils.QueryCondition.Create(); return(SelectByCondition <CasUserEntity>(qCondition)); }
/// <summary> /// 获取functionRolePageDomain /// </summary> /// <param name="roleID"></param> /// <returns></returns> protected virtual List <SecRolePageEntity> GetFunctionRolePageDomainByRoleID(string roleID) { eContract.Common.Utils.QueryCondition qCondition = eContract.Common.Utils.QueryCondition.Create().Equals(SecRolePageTable.C_ROLE_ID, roleID); return(SelectByCondition <SecRolePageEntity>(qCondition)); }