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