中医经典加国学经典
This commit is contained in:
@@ -792,9 +792,8 @@ public class BookController {
|
||||
//中医经典列表
|
||||
@RequestMapping("/getClassicsBookList")
|
||||
public R getClassicsBookList(@RequestBody Map<String,Object> params) {
|
||||
BookEntity bookEntity = new BookEntity();
|
||||
LambdaQueryWrapper<BookEntity> wrapper = new LambdaQueryWrapper();
|
||||
wrapper.eq(BookEntity::getBookType,1);
|
||||
wrapper.eq(BookEntity::getBookType,params.get("bookType"));
|
||||
IPage<BookEntity> page = bookService.page(
|
||||
new Query<BookEntity>().getPage(params),wrapper);
|
||||
return R.ok().put("page", page);
|
||||
|
||||
Reference in New Issue
Block a user