摘要: public class Page {public void test(int pageCount, int pageNo,int pgSize,int step) {int pageSize = pgSize;int start = 0; int end = 0;if (pageNo < pageSize) {start = 1;end = pageSize;} else {start = pageNo - step;end = pageNo + step;}if (end > pageCount) {end = pageCount;}if (start<step) sta 阅读全文
posted @ 2013-06-14 22:31 dogdragon 阅读(411) 评论(0) 推荐(0) 编辑