书评单本书显示其他书评的bug
This commit is contained in:
@@ -228,6 +228,7 @@ public class BookForumArticlesServiceController {
|
|||||||
public R getForumByBook(@RequestParam Integer bookId,@RequestParam Integer limit,@RequestParam Integer page){
|
public R getForumByBook(@RequestParam Integer bookId,@RequestParam Integer limit,@RequestParam Integer page){
|
||||||
LambdaQueryWrapper<BookForumArticlesEntity> wrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<BookForumArticlesEntity> wrapper = new LambdaQueryWrapper<>();
|
||||||
wrapper.eq(BookForumArticlesEntity::getDelflag,0);
|
wrapper.eq(BookForumArticlesEntity::getDelflag,0);
|
||||||
|
wrapper.eq(BookForumArticlesEntity::getBookid,bookId);
|
||||||
wrapper.orderByDesc(BookForumArticlesEntity::getCreateTime);
|
wrapper.orderByDesc(BookForumArticlesEntity::getCreateTime);
|
||||||
Page<BookForumArticlesEntity> bookForumArticlesEntityPage = bookForumArticlesService.getBaseMapper().selectPage(new Page<>(page, limit), wrapper);
|
Page<BookForumArticlesEntity> bookForumArticlesEntityPage = bookForumArticlesService.getBaseMapper().selectPage(new Page<>(page, limit), wrapper);
|
||||||
for (BookForumArticlesEntity b:bookForumArticlesEntityPage.getRecords()){
|
for (BookForumArticlesEntity b:bookForumArticlesEntityPage.getRecords()){
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ import java.util.List;
|
|||||||
public interface BuyOrderDao extends BaseMapper<BuyOrder> {
|
public interface BuyOrderDao extends BaseMapper<BuyOrder> {
|
||||||
List<BuyOrder> orderList(BuyOrderListRequestVo requestVo);
|
List<BuyOrder> orderList(BuyOrderListRequestVo requestVo);
|
||||||
|
|
||||||
Page<BuyOrder> testPage(Page<BuyOrder> page);
|
// Page<BuyOrder> testPage(Page<BuyOrder> page);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user