34 lines
667 B
Java
34 lines
667 B
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.UserEbookBuyEntity;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 用户购买书籍表
|
|
*
|
|
* @author yl
|
|
* @email yl328572838@163.com
|
|
* @date 2022-10-18 16:28:20
|
|
*/
|
|
public interface UserEbookBuyService extends IService<UserEbookBuyEntity> {
|
|
|
|
PageUtils queryPage(Map<String, Object> params);
|
|
|
|
PageUtils queryPages(Map<String, Object> params);
|
|
|
|
List<Integer> getUserBookId(Integer userId);
|
|
|
|
void addBookForUser(Integer userId, List<Integer> bookIds);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|