【代码修复】全局:BaseMapperX 的分页 pageSize 不分页判断不对的问题

pull/126/MERGE
YunaiV 2024-07-21 18:03:31 +08:00
parent 468d4cc6f6
commit ec62043a65
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public interface BaseMapperX<T> extends MPJBaseMapper<T> {
default <D> PageResult<D> selectJoinPage(PageParam pageParam, Class<D> clazz, MPJLambdaWrapper<T> lambdaWrapper) {
// 特殊:不分页,直接查询全部
if (PageParam.PAGE_SIZE_NONE.equals(pageParam.getPageNo())) {
if (PageParam.PAGE_SIZE_NONE.equals(pageParam.getPageSize())) {
List<D> list = selectJoinList(clazz, lambdaWrapper);
return new PageResult<>(list, (long) list.size());
}