设 总记录数:totalRecord 每页最大记录数:maxResult   算法一: totalPage = totalRecord % maxResult == 0 ? totalRecord / maxResult : totalRecord / maxResult + 1 ;   算法二:(推荐) totalPage = (totalRecord + maxResult -1) / max

分页   算法