递归
public static int adjustStartIndex(int startIndex, int endIndex, int pageSize) {
if (startIndex > endIndex) {
return adjustStartIndex(startIndex - pageSize, endIndex, pageSize);
} else {
return startIndex;
}
}