package com.yonge.cooleshow.biz.dal.service;

import com.yonge.cooleshow.biz.dal.entity.AlbumFavorite;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yonge.cooleshow.biz.dal.enums.ClientEnum;

import java.util.List;

/**
 * AlbumFavoriteService服务类
 * @author yzp
 * @date 2022-03-25 23:46:28
 * @version v1.0
 **/
public interface AlbumFavoriteService extends IService<AlbumFavorite> {

    /**
     * 获取收藏信息
     *
     * @param studentId 学生id
     * @param albumId 专辑id
     * @param clientType ClientEnum
     * @return list
     */
    List<AlbumFavorite> getFavorite(Long studentId, Long albumId, ClientEnum clientType);

    /**
     * 获取收藏信息
     *
     * @param userId 用户id
     * @param albumIds 专辑id
     * @param clientType ClientEnum
     * @return
     */
    List<Long> selectFavorite(Long userId, List<Long> albumIds, ClientEnum clientType);
}