CourseContentMapper.java 538 Bytes
package com.subsidy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.model.CourseContentDO;
import com.subsidy.model.VodDictDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 课程目录表 Mapper 接口
 * </p>
 *
 * @author DengMin
 * @since 2021-10-11
 */
@Repository
public interface CourseContentMapper extends BaseMapper<CourseContentDO> {

    /**
     * 查看课程下有多少个视频
     */
    List<VodDictDO> getCourseVods(Integer courseId);

}