图书列表-相关古籍-增加国学经典类型
This commit is contained in:
@@ -560,7 +560,7 @@ public class BookServiceImpl extends ServiceImpl<BookDao, BookEntity> implements
|
|||||||
@Override
|
@Override
|
||||||
public List<BookEntity> getAncientBooks() {
|
public List<BookEntity> getAncientBooks() {
|
||||||
LambdaQueryWrapper<BookEntity> wrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<BookEntity> wrapper = new LambdaQueryWrapper<>();
|
||||||
wrapper.eq(BookEntity::getBookType,1);
|
wrapper.in(BookEntity::getBookType,1,2);
|
||||||
List<BookEntity> list = list(wrapper);
|
List<BookEntity> list = list(wrapper);
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user