/// <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); }
public GroupListModel(IList <GroupApiConfigModel> _list, NewPagingResult pagingResult) { GroupApiConfigListModel = _list; PagingResult = pagingResult; }
public AuthorityManageList(List <account> _accountModel, NewPagingResult pagingResult) { accountModel = _accountModel; PagingResult = pagingResult; }
public BusinessManageList(List <BusListResultModel> _businessModel, NewPagingResult pagingResult) { businessModel = _businessModel; PagingResult = pagingResult; }
public ClienterManageList(List <ClienterListModel> _clienterModel, NewPagingResult pagingResult) { clienterModel = _clienterModel; _PagingResult = pagingResult; }
public ClienterCountManageList(List <ClienterViewModel> _clienterViewModel, NewPagingResult pagingResult) { clienterViewModel = _clienterViewModel; PagingResult = pagingResult; }
public OrderManageList(List <OrderListModel> _orderModel, NewPagingResult pagingResult) { orderModel = _orderModel; PagingResult = pagingResult; }
public SubsidyManageList(List <subsidy> _subsidyModel, NewPagingResult pagingResult) { subsidyModel = _subsidyModel; PagingResult = pagingResult; }