package cn.reghao.tnb.content.app.data.db.mapper;

import cn.reghao.jutil.jdk.web.db.BaseMapper;
import cn.reghao.tnb.content.app.data.model.po.AudioFile;
import cn.reghao.oss.api.dto.media.AudioInfo;
import cn.reghao.oss.api.dto.media.AudioUrl;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author reghao
 * @date 2023-07-05 16:47:46
 */
@Mapper
public interface AudioFileMapper extends BaseMapper<AudioFile> {
    List<AudioFile> findByAudioFileId(String audioFileId);
    List<AudioInfo> findAudioInfo(String audioFileId);
    List<AudioUrl> findAudioUrl(String audioFileId);
}
