Exemple #1
0
        /// <summary>
        /// 获取分页对象的pageList和总页数
        /// </summary>
        /// <param name="financePage">分页对象</param>
        /// <returns>处理过的分页对象</returns>
        public FinancePage <Flow> getFlowList(FinancePage <Flow> financePage)
        {
            //获取pageList
            financePage = flowModel.getFlowList(financePage, account.company);
            //获取总行数
            financePage.total = flowModel.getCount(account.company);

            return(financePage);
        }