解决页数超限 仍返回数据问题

This commit is contained in:
2024-06-26 11:09:05 +08:00
parent 82935827f5
commit 92fb9c48a0
8 changed files with 31 additions and 22 deletions

View File

@@ -0,0 +1,13 @@
package com.chaozhanggui.system.cashierservice.util;
import com.github.pagehelper.PageHelper;
public class PageHelperUtil {
/**
* 解决页数超限 仍返回数据问题
*/
public static void startPage(int page, int pageSize) {
PageHelper.startPage(page, pageSize, true, false, false);
}
}