//账户异动记录列表封装方法
        private BillingViewModels List(BillingFilterModel filter)
        {
            if (IsPostRequest)
            {
                filter.Page = 1;
            }

            var viewModels = new BillingViewModels {
                Filter = filter
            };

            var param = new AmountRecordSearchParam //B_LMS.Data
            {
                CustomerCode  = _workContext.User.UserUame,
                StartDateTime = filter.StartDateTime,
                EndDateTime   = filter.EndDateTime,
                Page          = filter.Page,
                PageSize      = filter.PageSize
            };

            decimal totalInFee  = 0;
            decimal totalOutFee = 0;

            var list = _billingService.GetCustomerAmountRecordPagedList(param, out totalInFee, out totalOutFee);

            viewModels.BillingList = list.ToModelAsPageCollection <CustomerAmountRecordExt, BillingModel>();//LMS_Db.Entities与LMS.UserCenter.Controllers.BillingController映射

            viewModels.TotalInFee  = totalInFee;
            viewModels.TotalOutFee = totalOutFee;

            return(viewModels);
        }
 //账户异动首页列表
 public ActionResult ChangeRecords(BillingFilterModel filter)
 {
     return(View(List(filter)));
 }