总记录数 : totalCount
每页显示的数量: pageSize
总页数: pageCount
算法:
1 pageCount = (totalCount -1) / pageSize + 1
2 pageCount = (totalCount % pageSize == 0 ? totalCount/pageSize : totalCount/pageSize + 1)
3 pageCount = (totalCount + pageSize -1) / pageSize