public List <UserRoleInfo> GetUserRoleList(Guid userRoleFid, Guid roleFid)
        {
            UserRoleDAL         userRoleDal  = new UserRoleDAL();
            List <UserRoleInfo> userRoleList = userRoleDal.GetUserRoleList(userRoleFid, roleFid);
            var userFid = userRoleList.FirstOrDefault().UserFid;

            //List<RoleUserConditionInfo> roleConditionList = new RoleUserConditionDAL().GetList("and [USER_FID] = '" + userFid + "' and [ROLE_FID] = '" + roleFid + "' and [VALID_FLAG] <> 0 ", string.Empty);
            //List<UserRoleConditionInfo> userroleConditionList = new UserRoleConditionDAL().GetList("and [VALID_FLAG] <> 0", "[EXTEND_FIELD_SEQ]");
            //foreach (var info in userRoleList)
            //{
            //    for (int i = 0; i < userroleConditionList.Count; i++)
            //    {
            //        var roleuserconditioninfo = roleConditionList.FirstOrDefault(d => d.ExtendFieldSeq == (i + 1));
            //        if (roleuserconditioninfo == null) continue;
            //        switch (i)
            //        {
            //            case 0: info.ExtendField1 = roleuserconditioninfo.ConditionContext; break;
            //            case 1: info.ExtendField2 = roleuserconditioninfo.ConditionContext; break;
            //            case 2: info.ExtendField3 = roleuserconditioninfo.ConditionContext; break;
            //            case 3: info.ExtendField4 = roleuserconditioninfo.ConditionContext; break;
            //            case 4: info.ExtendField5 = roleuserconditioninfo.ConditionContext; break;
            //            case 5: info.ExtendField6 = roleuserconditioninfo.ConditionContext; break;
            //            case 6: info.ExtendField7 = roleuserconditioninfo.ConditionContext; break;
            //            case 7: info.ExtendField8 = roleuserconditioninfo.ConditionContext; break;
            //            case 8: info.ExtendField9 = roleuserconditioninfo.ConditionContext; break;
            //            case 9: info.ExtendField10 = roleuserconditioninfo.ConditionContext; break;
            //            case 10: info.ExtendField11 = roleuserconditioninfo.ConditionContext; break;
            //            case 11: info.ExtendField12 = roleuserconditioninfo.ConditionContext; break;
            //            case 12: info.ExtendField13 = roleuserconditioninfo.ConditionContext; break;
            //            case 13: info.ExtendField14 = roleuserconditioninfo.ConditionContext; break;
            //            case 14: info.ExtendField15 = roleuserconditioninfo.ConditionContext; break;
            //            case 15: info.ExtendField16 = roleuserconditioninfo.ConditionContext; break;
            //            case 16: info.ExtendField17 = roleuserconditioninfo.ConditionContext; break;
            //            case 17: info.ExtendField18 = roleuserconditioninfo.ConditionContext; break;
            //            case 18: info.ExtendField19 = roleuserconditioninfo.ConditionContext; break;
            //            case 19: info.ExtendField20 = roleuserconditioninfo.ConditionContext; break;
            //        }
            //    }
            //}

            return(userRoleList);
        }