ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/utils/PageUtils.java
@@ -27,4 +27,12 @@ PageHelper.startPage(pageNum, pageSize, orderBy).setReasonable(reasonable); } } /** * 清理分页的线程变量 */ public static void clearPage() { PageHelper.clearPage(); } } ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/web/controller/BaseController.java
@@ -49,6 +49,14 @@ } /** * 清理分页的线程变量 */ protected void clearPage() { PageUtils.clearPage(); } /** * 响应请求分页数据 */ @SuppressWarnings({ "rawtypes", "unchecked" })