Merge pull request #2276 from langghaha/develop
replace null return value
This commit is contained in:
commit
a96cb67f44
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user