This commit is contained in:
wangjinlei
2023-09-22 11:57:04 +08:00
parent fffff924cf
commit 471cccae5f

View File

@@ -207,7 +207,9 @@ public class BookController {
// Integer start = (page-1)*limit;
QueryWrapper<BookEntity> wrapper = new QueryWrapper<>();
wrapper.eq("can_listen",1);
wrapper.notIn("id",bids);
if(bids.size()>0){
wrapper.notIn("id",bids);
}
Page<BookEntity> bookEntityPage = bookService.getBaseMapper().selectPage(new Page<BookEntity>(page, limit), wrapper);
// Integer start = (page-1)*limit;
// QueryWrapper<BookEntity> wrapper = new QueryWrapper<>();