推荐列表去除中医经典和医学经典

This commit is contained in:
wuchunlei
2023-12-21 16:16:18 +08:00
parent 3e3b3755f9
commit 16039baadd
3 changed files with 4 additions and 0 deletions

View File

@@ -96,6 +96,7 @@ public class BookTeachController {
LambdaQueryWrapper<BookEntity> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(BookEntity::getTeachIn,1);
wrapper.eq(BookEntity::getDelFlag,0);
wrapper.eq(BookEntity::getBookType,0);
wrapper.notExists(exist_sql);
Page<BookEntity> bookEntityPage = bookService.getBaseMapper().selectPage(new Page<>(pageIdDto.getPage(), pageIdDto.getLimit()), wrapper);
return R.ok().put("page",bookEntityPage);