package com.ruoyi.dezhi.service;

import java.util.List;
import com.ruoyi.dezhi.domain.BBusiDezhiVideoPackageChapter;

/**
 * 视频包章节Service接口
 * 
 * @author mingxue
 * @date 2021-07-22
 */
public interface IBBusiDezhiVideoPackageChapterService 
{
    /**
     * 查询视频包章节
     * 
     * @param id 视频包章节ID
     * @return 视频包章节
     */
    public BBusiDezhiVideoPackageChapter selectBBusiDezhiVideoPackageChapterById(Long id);
    public BBusiDezhiVideoPackageChapter selectBBusiDezhiVideoPackageChapterByChapterId(String chapterId);
    public List<BBusiDezhiVideoPackageChapter> selectBBusiDezhiVideoPackageChapterByPackId(String packId);

    /**
     * 查询视频包章节列表
     * 
     * @param bBusiDezhiVideoPackageChapter 视频包章节
     * @return 视频包章节集合
     */
    public List<BBusiDezhiVideoPackageChapter> selectBBusiDezhiVideoPackageChapterList(BBusiDezhiVideoPackageChapter bBusiDezhiVideoPackageChapter);

    /**
     * 新增视频包章节
     * 
     * @param bBusiDezhiVideoPackageChapter 视频包章节
     * @return 结果
     */
    public int insertBBusiDezhiVideoPackageChapter(BBusiDezhiVideoPackageChapter bBusiDezhiVideoPackageChapter);

    /**
     * 修改视频包章节
     * 
     * @param bBusiDezhiVideoPackageChapter 视频包章节
     * @return 结果
     */
    public int updateBBusiDezhiVideoPackageChapter(BBusiDezhiVideoPackageChapter bBusiDezhiVideoPackageChapter);

    /**
     * 批量删除视频包章节
     * 
     * @param ids 需要删除的视频包章节ID
     * @return 结果
     */
    public int deleteBBusiDezhiVideoPackageChapterByIds(Long[] ids);

    /**
     * 删除视频包章节信息
     * 
     * @param id 视频包章节ID
     * @return 结果
     */
    public int deleteBBusiDezhiVideoPackageChapterById(Long id);
}
