replace null return value

This commit is contained in:
langghaha 2020-01-08 19:07:50 +08:00
parent 0ed8e6f812
commit 6f777607d8

View File

@ -76,7 +76,7 @@ public class PaginationHelper<E> {
page.setTotalCount(rowCountInt);
if (pageNo > pageCount) {
return null;
return page;
}
final int startRow = (pageNo - 1) * pageSize;
@ -121,7 +121,7 @@ public class PaginationHelper<E> {
page.setTotalCount(rowCountInt);
if (pageNo > pageCount) {
return null;
return page;
}
String selectSQL = sqlFetchRows;
@ -162,7 +162,7 @@ public class PaginationHelper<E> {
page.setTotalCount(rowCountInt);
if (pageNo > pageCount) {
return null;
return page;
}
String selectSQL = sqlFetchRows;