Commit de1766ab authored by RuoYi's avatar RuoYi

新增清理分页的线程变量方法

parent 01a566c7
......@@ -68,6 +68,14 @@ public class BaseController
}
}
/**
* 清理分页的线程变量
*/
protected void clearPage()
{
PageUtils.clearPage();
}
/**
* 响应请求分页数据
*/
......
......@@ -27,4 +27,12 @@ public class PageUtils extends PageHelper
PageHelper.startPage(pageNum, pageSize, orderBy).setReasonable(reasonable);
}
}
/**
* 清理分页的线程变量
*/
public static void clearPage()
{
PageHelper.clearPage();
}
}
......@@ -65,7 +65,6 @@ public class LogAspect
{
try
{
// 获取当前的用户
LoginUser loginUser = SecurityUtils.getLoginUser();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment