/// <summary> /// 查询 /// </summary> public string GetVipRewardData() { string error = string.Empty; var service = new VipBLL(CurrentUserInfo); VipEntity listObj = null; string content = string.Empty; VipEntity queryEntity = new VipEntity(); queryEntity.Page = Utils.GetIntVal(Request("page")); queryEntity.PageSize = PageSize; queryEntity.VipName = FormatParamValue(Request("VipInfo")); queryEntity.UnitId = FormatParamValue(Request("UnitId")); queryEntity.IntegralSourceIds = FormatParamValue(Request("IntegralSourceIds")); queryEntity.BeginDate = FormatParamValue(Request("BeginDate")); queryEntity.EndDate = FormatParamValue(Request("EndDate")); if (queryEntity.IntegralSourceIds.StartsWith(",")) { queryEntity.IntegralSourceIds = queryEntity.IntegralSourceIds.Substring(1); } listObj = service.GetVipIntegral(queryEntity, out error); var jsonData = new JsonData(); jsonData.totalCount = listObj.ICount.ToString(); jsonData.data = listObj.vipInfoList; content = string.Format("{{\"totalCount\":{1},\"topics\":{0}}}", jsonData.data.ToJSON(), jsonData.totalCount); return(content); }
private void GetVipIntegral() { LoggingSessionInfo loggingSessionInfo = new LoggingSessionInfo(); loggingSessionInfo = new CLoggingSessionService().GetLoggingSessionInfo("f6a7da3d28f74f2abedfc3ea0cf65c01", "17e02a6dd0094de9b18da1ca73d37027"); VipEntity vipSearchInfo = new VipEntity(); VipEntity info = new VipEntity(); VipBLL vipServer = new VipBLL(loggingSessionInfo); string strError = string.Empty; info = vipServer.GetVipIntegral(vipSearchInfo, out strError); }