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

import com.yonge.cooleshow.biz.dal.entity.MusicFavorite;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * MusicFavoriteDao数据库访问类
 *
 * @author yzp
 * @version v1.0
 * @date 2022-03-25 23:46:28
 **/
public interface MusicFavoriteDao extends BaseMapper<MusicFavorite> {

    /**
     * 曲目收藏数
     *
     * @param musicSheetId 曲目id
     * @return
     */
    long selectMusicSheetFavoriteNum(@Param("musicSheetId") Long musicSheetId);
}