예제 #1
0
        public Withdraw_QueryInfoCollection QueryWithdrawList2(decimal minMoney, decimal maxMoney, DateTime startTime, DateTime endTime, WithdrawStatus?status)
        {
            var result = new Withdraw_QueryInfoCollection();

            result.WithdrawList = new MenuManager().QueryWithdrawList2(minMoney, maxMoney, startTime, endTime, status);
            return(result);
        }
예제 #2
0
        public Withdraw_QueryInfoCollection QueryWithdrawList(string userId, WithdrawAgentType?agent, int status, decimal minMoney, decimal maxMoney, int sortType, int pageIndex, int pageSize, string orderId = "")
        {
            //var statusList = new List<int>();
            //statusList.Add(status);

            var result             = new Withdraw_QueryInfoCollection();
            var totalCount         = 0;
            var totalMoney         = 0M;
            var totalResponseMoney = 0M;
            var winCount           = 0;
            var refusedCount       = 0;
            var totalWinMoney      = 0M;
            var totalRefusedMoney  = 0M;

            result.WithdrawList = new SqlQueryManager().QueryWithdrawList(userId, agent, status, minMoney, maxMoney, sortType, pageIndex, pageSize, orderId,
                                                                          out winCount, out refusedCount, out totalWinMoney, out totalRefusedMoney, out totalResponseMoney, out totalCount, out totalMoney);
            result.TotalCount         = totalCount;
            result.TotalMoney         = totalMoney;
            result.WinCount           = winCount;
            result.RefusedCount       = refusedCount;
            result.TotalWinMoney      = totalWinMoney;
            result.TotalRefusedMoney  = totalRefusedMoney;
            result.TotalResponseMoney = totalResponseMoney;
            return(result);
        }
예제 #3
0
        public Withdraw_QueryInfoCollection QueryWithdrawList(string userId, WithdrawAgentType?agent, WithdrawStatus?status, decimal minMoney, decimal maxMoney, DateTime startTime, DateTime endTime, int sortType, string operUserId, int pageIndex, int pageSize, string bankcode)
        {
            var statusList = new List <int>();

            if (status.HasValue)
            {
                statusList.Add((int)status.Value);
            }

            var result             = new Withdraw_QueryInfoCollection();
            var totalCount         = 0;
            var totalMoney         = 0M;
            var totalResponseMoney = 0M;
            var winCount           = 0;
            var refusedCount       = 0;
            var totalWinMoney      = 0M;
            var totalRefusedMoney  = 0M;

            result.WithdrawList = new MenuManager().QueryWithdrawList(userId, agent, status, minMoney, maxMoney, startTime, endTime, sortType, operUserId, pageIndex, pageSize, bankcode,
                                                                      out winCount, out refusedCount, out totalWinMoney, out totalRefusedMoney, out totalResponseMoney, out totalCount, out totalMoney);
            result.TotalCount         = totalCount;
            result.TotalMoney         = totalMoney;
            result.WinCount           = winCount;
            result.RefusedCount       = refusedCount;
            result.TotalWinMoney      = totalWinMoney;
            result.TotalRefusedMoney  = totalRefusedMoney;
            result.TotalResponseMoney = totalResponseMoney;
            return(result);
        }