swagger2访问url


swagger : http://localhost:8080/swagger/index.html

springboot中的swagger:http://localhost:8080/swagger-ui.html      非常简单

druid数据库监控 :http://localhost:8080/druid/index.html

 

oracle分页计算方法

 

//page是页数,rows是显示行数
        int page=1;
        int rows=10;                            
        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>0
      //第一个参数,对应着第一个rownum<11,第二个参数对应着rn>5
注意oracle 中的rownum是从1开始的

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM