bug
This commit is contained in:
@@ -82,6 +82,10 @@ public class BookForumArticlesServiceController {
|
|||||||
b.setCommentNum(commentcount);
|
b.setCommentNum(commentcount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(bookForumArticlesEntityPage.getTotal()>20){
|
||||||
|
bookForumArticlesEntityPage.setTotal(20);
|
||||||
|
}
|
||||||
|
|
||||||
if(page>2){
|
if(page>2){
|
||||||
bookForumArticlesEntityPage.setRecords(null);
|
bookForumArticlesEntityPage.setRecords(null);
|
||||||
}
|
}
|
||||||
@@ -117,6 +121,9 @@ public class BookForumArticlesServiceController {
|
|||||||
b.setComment(commentsLimit);
|
b.setComment(commentsLimit);
|
||||||
b.setCommentNum(commentcount);
|
b.setCommentNum(commentcount);
|
||||||
}
|
}
|
||||||
|
if(bookForumArticlesEntityPage.getTotal()>20){
|
||||||
|
bookForumArticlesEntityPage.setTotal(20);
|
||||||
|
}
|
||||||
|
|
||||||
if(page>2){
|
if(page>2){
|
||||||
bookForumArticlesEntityPage.setRecords(null);
|
bookForumArticlesEntityPage.setRecords(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user