Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Object doAround(ProceedingJoinPoint jp) throws Throwable {
checkPageLimit(request, paramNames, args);

try {
Object obj = jp.proceed();
Object obj = jp.proceed(args);
retVal = (ReturnObject) obj;
} catch (BusinessException exception) {
logger.debug("doAround: BusinessException, errno = {}", exception.getErrno());
Expand Down Expand Up @@ -145,10 +145,10 @@ private void checkPageLimit(HttpServletRequest request, String[] paramNames, Obj
}

for (int i = 0; i < paramNames.length; i++) {
if (paramNames[i].equals("page") && (args[i] == null)) {
if (paramNames[i].equals("page")) {
args[i] = page;
}
if (paramNames[i].equals("pageSize") && (args[i] == null)) {
if (paramNames[i].equals("pageSize")) {
args[i] = pageSize;
}
}
Expand Down