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