//page是页数,rows是显示行数
int page=2;
int rows=5;
List<Articles> list=a.select(page*rows+1,(page-1)*rows);
// sql语句: select * from(select a.*,rownum rn from (select * from t_articles) a where rownum < 11) where rn>5
      //第一个参数,对应着第一个rownum<11,第二个参数对应着rn>5

相关文章:

  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2019-03-07
  • 2022-12-23
  • 2021-11-30
猜你喜欢
  • 2021-09-30
  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
相关资源
相似解决方案