pagehelper分頁查詢的一個坑,明明下一頁沒有數據了卻仍是返回了數據

解決:關閉這該死的合理化,以下配置:mysql pagehelper: # helperDialect: mysql reasonable: false # 禁用合理化時,若是pageNum<1或pageNum>pages會返回空數據 reasonable:false   sql
相關文章
相關標籤/搜索