/// <summary>
        /// 骑士统计
        /// danny-20150326
        /// </summary>
        /// <param name="criteria"></param>
        /// <returns></returns>
        public Ets.Model.Common.ClienterCountManageList GetClienteresCount(ClienterSearchCriteria criteria)
        {
            PageInfo <ClienterViewModel> pageinfo = dao.GetClienteresCount <ClienterViewModel>(criteria);
            NewPagingResult pr = new NewPagingResult()
            {
                PageIndex = criteria.PagingRequest.PageIndex, PageSize = criteria.PagingRequest.PageSize, RecordCount = pageinfo.All, TotalCount = pageinfo.All
            };
            List <ClienterViewModel> list = pageinfo.Records.ToList();
            var clienterCountManageList   = new Ets.Model.Common.ClienterCountManageList(list, pr);

            return(clienterCountManageList);
        }
 /// <summary>
 /// 获取我的余额 平扬 2015.3.23
 /// </summary>
 /// <param name="criteria"></param>
 /// <returns></returns>
 public Model.Common.NewPagedList <IncomeModel> GetMyIncomeList(MyIncomeSearchCriteria criteria)
 {
     try
     {
         var withDao    = new WtihdrawRecordsDao();
         var reslut     = withDao.GetMyIncomeList(criteria);
         var list       = new NewPagedList <IncomeModel>(reslut.Records);
         var pageresult = new NewPagingResult(criteria.PagingRequest.PageIndex, criteria.PagingRequest.PageSize)
         {
             TotalCount  = reslut.All,
             RecordCount = reslut.Records.Count
         };
         list.PagingResult = pageresult;
         return(list);
     }
     catch (Exception ex)
     {
         LogHelper.LogWriterFromFilter(ex);
         return(null);
     }
     return(null);
 }
Esempio n. 3
0
 public GroupListModel(IList <GroupApiConfigModel> _list, NewPagingResult pagingResult)
 {
     GroupApiConfigListModel = _list;
     PagingResult            = pagingResult;
 }
Esempio n. 4
0
 public AuthorityManageList(List <account> _accountModel, NewPagingResult pagingResult)
 {
     accountModel = _accountModel;
     PagingResult = pagingResult;
 }
Esempio n. 5
0
 public BusinessManageList(List <BusListResultModel> _businessModel, NewPagingResult pagingResult)
 {
     businessModel = _businessModel;
     PagingResult  = pagingResult;
 }
Esempio n. 6
0
 public ClienterManageList(List <ClienterListModel> _clienterModel, NewPagingResult pagingResult)
 {
     clienterModel = _clienterModel;
     _PagingResult = pagingResult;
 }
Esempio n. 7
0
 public ClienterCountManageList(List <ClienterViewModel> _clienterViewModel, NewPagingResult pagingResult)
 {
     clienterViewModel = _clienterViewModel;
     PagingResult      = pagingResult;
 }
Esempio n. 8
0
 public OrderManageList(List <OrderListModel> _orderModel, NewPagingResult pagingResult)
 {
     orderModel   = _orderModel;
     PagingResult = pagingResult;
 }
Esempio n. 9
0
 public SubsidyManageList(List <subsidy> _subsidyModel, NewPagingResult pagingResult)
 {
     subsidyModel = _subsidyModel;
     PagingResult = pagingResult;
 }