42 lines
1.0 KiB
Java
42 lines
1.0 KiB
Java
package com.peanut.modules.book.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.peanut.common.utils.PageUtils;
|
|
import com.peanut.modules.book.entity.BookEntity;
|
|
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 图书表
|
|
*
|
|
* @author yl
|
|
* @email yl328572838@163.com
|
|
* @date 2022-08-04 15:36:59
|
|
*/
|
|
public interface BookService extends IService<BookEntity> {
|
|
|
|
PageUtils queryPage(Map<String, Object> params);
|
|
|
|
void getChapter(Integer id);
|
|
|
|
PageUtils getBestBook(Map<String, Object> params);
|
|
|
|
PageUtils getbooklist(Map<String, Object> params);
|
|
|
|
PageUtils getNewBook(Map<String, Object> params);
|
|
|
|
PageUtils getSaleBook(Map<String, Object> params);
|
|
|
|
//获取Word电子书章节
|
|
boolean getWordChapter(Integer bookId);
|
|
//获取Word电子书章节并按照章节保存内容
|
|
boolean getWord(Integer bookId);
|
|
|
|
//获取Word电子书章按照章节中小节拆分
|
|
boolean getWordSection (Integer bookId);
|
|
|
|
|
|
PageUtils queryPagebooks(Map<String, Object> params);
|
|
}
|
|
|