如下所示:package SSMy.page;public class PageBean {private int page;//第几页private int pageSize;//每页显示的记录数private int start ;//
如下所示:
package SSMy.page;public class PageBean {private int page;//第几页private int pageSize;//每页显示的记录数private int start ;//起始记录数public int getPage() {return page;}public void setPage(int page) {this.page = page;}public int getPageSize() {return pageSize;}public void setPageSize(int pageSize) {this.pageSize = pageSize;}public int getStart() {return (page-1)*pageSize;}public void setStart(int start) {this.start = start;}public PageBean(int page, int pageSize) {super();this.page = page;this.pageSize = pageSize;}}
--结束END--
本文标题: 浅谈java分页三个类 PageBean ResponseUtil StringUtil
本文链接: https://lsjlt.com/news/224953.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
2024-05-24
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0