public Boolean calculateHasNextPage() {
            // There is a paging size calculated based on the paging
            if (total > 0) {
                return (long)pageSize * pageNo <= total;
            }
            // No data, definitely no next page
            if (data == null || data.isEmpty()) {
                return false;
            }
            // The current number is less than the number of pages
            return data.size() >= pageSize;
        }
Determine whether there is a next page
Calculated based on paging size to prevent total from being empty

@return Is there a next page?
chat2db-server/chat2db-server-tools/chat2db-server-tools-base/src/main/java/ai/chat2db/server/tools/base/wrapper/result/web/WebPageResult.java