bug
This commit is contained in:
@@ -70,7 +70,7 @@ public class BookForumArticlesServiceController {
|
||||
wrapper.leftJoin(AuthorEntity.class,AuthorEntity::getId,BookEntity::getAuthorId);
|
||||
wrapper.eq(BookForumArticlesEntity::getDelflag,0);
|
||||
wrapper.eq(BookEntity::getDelFlag,0);
|
||||
wrapper.eq(BookEntity::getState,0);
|
||||
wrapper.eq(BookEntity::getState,1);
|
||||
Page<BookForumArticlesEntity> bookForumArticlesEntityPage = bookForumArticlesDao.selectJoinPage(new Page<>(page, limit), BookForumArticlesEntity.class, wrapper);
|
||||
|
||||
for (BookForumArticlesEntity b : bookForumArticlesEntityPage.getRecords()){
|
||||
@@ -102,7 +102,7 @@ public class BookForumArticlesServiceController {
|
||||
wrapper.leftJoin(AuthorEntity.class,AuthorEntity::getId,BookEntity::getAuthorId);
|
||||
wrapper.eq(BookForumArticlesEntity::getDelflag,0);
|
||||
wrapper.eq(BookEntity::getDelFlag,0);
|
||||
wrapper.eq(BookEntity::getState,0);
|
||||
wrapper.eq(BookEntity::getState,1);
|
||||
wrapper.orderByDesc(BookForumArticlesEntity::getContlike);
|
||||
Page<BookForumArticlesEntity> bookForumArticlesEntityPage = bookForumArticlesDao.selectJoinPage(new Page<>(page, limit), BookForumArticlesEntity.class, wrapper);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user