package com.pcloud.book.recommend.biz;

import com.pcloud.book.recommend.dto.RecommendServeDto;
import com.pcloud.book.recommend.entity.BookRecommend;
import com.pcloud.common.page.PageBeanNew;
import java.util.List;

/**
 * 基于书的推荐(BookRecommend)表服务接口
 *
 * @author makejava
 * @since 2021-10-29 15:21:57
 */
public interface BookRecommendBiz {

    /**
     * 通过ID查询单条数据
     */
    List<RecommendServeDto> getById(Long bookId, Long channelId, Long adviserId, Integer fromType);


    /**
     * 查应用或作品的资源推荐
     */
    List<RecommendServeDto> getByServeId(Long adviserId,Long serveId, String serveType, Integer fromType);
}