摘要: 1.Page类用于存放分页信息: start: 开始位置 count: 每页的个数 last: 最后一页的位置 caculateLast()方法: 通过总数total和每页的个数计算出最后一页的位置 2.在CategoryMapper接口中添加方法,同时CategoryMapper.xml中也加入关 阅读全文
posted @ 2018-12-15 20:58 西歪 阅读(872) 评论(0) 推荐(0)