public object GetList(int pageNo = 1, int pageSize = 10) { CheckUserLogin(); var query = new CapitalDetailQuery { memberId = CurrentUser.Id, PageSize = pageSize, PageNo = pageNo }; var pageMode = MemberCapitalApplication.GetCapitalDetails(query); var model = pageMode.Models.ToList().Select(e => new CapitalDetailModel { Id = e.Id, Amount = e.Amount + e.PresentAmount, PresentAmount = e.PresentAmount, CapitalID = e.CapitalID, CreateTime = e.CreateTime.ToString("yyyy-MM-dd HH:mm:ss"), SourceData = e.SourceData, SourceType = e.SourceType, Remark = GetRemark(e), PayWay = e.Remark }); return(Json(new { rows = model, total = pageMode.Total })); }