Blame view

CourseContentMapper.java 577 Bytes
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
package com.subsidy.mapper;

import com.subsidy.model.CourseContentDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.model.CourseDictDO;
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);

}