Exemplo n.º 1
0
 public UserQueryInfoCollection QueryUserList_AdminCPS(DateTime regFrom, DateTime regTo, string keyType, string keyValue, bool?isEnable, bool?isFillMoney, bool?isAgent
                                                       , string commonBlance, string bonusBlance, string freezeBlance, string vipRange, string comeFrom, string agentId, int ocAgentCategory, int pageIndex, int pageSize, string strOrderBy)
 {
     using (var manager = new LoginLocalManager())
     {
         int     totalCount;
         decimal totalFillMoneyBalance;
         decimal totalBonusBalance;
         decimal totalCommissionBalance;
         decimal totalExpertsBalance;
         decimal totalFreezeBalance;
         decimal totalRedBagBalance;
         decimal totalCPSBalance;
         int     totalDouDou;
         var     list = manager.QueryUserList_AdminCPS(regFrom, regTo, keyType, keyValue, isEnable, isFillMoney, isAgent, commonBlance, bonusBlance, freezeBlance, vipRange, comeFrom, agentId, ocAgentCategory, pageIndex, pageSize,
                                                       out totalCount, out totalFillMoneyBalance, out totalBonusBalance, out totalCommissionBalance, out totalExpertsBalance, out totalFreezeBalance, out totalRedBagBalance, out totalDouDou, out totalCPSBalance, strOrderBy);
         var collection = new UserQueryInfoCollection
         {
             TotalCount             = totalCount,
             TotalFillMoneyBalance  = totalFillMoneyBalance,
             TotalBonusBalance      = totalBonusBalance,
             TotalCommissionBalance = totalCommissionBalance,
             TotalExpertsBalance    = totalExpertsBalance,
             TotalFreezeBalance     = totalFreezeBalance,
             TotalRedBagBalance     = totalRedBagBalance,
             TotalDouDou            = totalDouDou,
             TotalCPSBalance        = totalCPSBalance
         };
         collection.LoadList(list);
         return(collection);
     }
 }
Exemplo n.º 2
0
 public UserQueryInfoCollection QueryAgentUserManagerList(DateTime createFrom, DateTime createTo, string keyType, string keyValue, int pageIndex, int pageSize)
 {
     using (var manager = new AgentManager())
     {
         int totalCount;
         var list       = manager.QueryAgentUserManagerList(createFrom, createTo, keyType, keyValue, pageIndex, pageSize, out totalCount);
         var collection = new UserQueryInfoCollection
         {
             TotalCount = totalCount
         };
         collection.LoadList(list);
         return(collection);
     }
 }