Ejemplo n.º 1
0
        private void BindData()
        {
            BalanceDrawRequestQuery entity = new BalanceDrawRequestQuery
            {
                RequestTime      = "",
                CheckTime        = "",
                StoreName        = this.StoreName,
                PageIndex        = this.pager.PageIndex,
                PageSize         = this.pager.PageSize,
                SortOrder        = SortAction.Desc,
                SortBy           = "Id",
                RequestEndTime   = this.RequestEndTime,
                RequestStartTime = this.RequestStartTime,
                IsCheck          = "",
                UserId           = ""
            };

            string[] extendChecks = new string[] { 0.ToString(), 1.ToString(), 3.ToString() };
            Globals.EntityCoding(entity, true);
            DbQueryResult memberAmountRequest = MemberAmountProcessor.GetMemberAmountRequest(entity, extendChecks);

            this.reCommissions.DataSource = memberAmountRequest.Data;
            this.reCommissions.DataBind();
            this.pager.TotalRecords = memberAmountRequest.TotalRecords;
        }