package com.fs.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.course.domain.FsCoursePlaySourceConfig;
import com.fs.course.vo.FsCoursePlaySourceConfigVO;
import com.fs.his.vo.OptionsVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface FsCoursePlaySourceConfigMapper extends BaseMapper<FsCoursePlaySourceConfig> {

    /**
     * 查询点播配置列表
     */
    List<FsCoursePlaySourceConfigVO> selectCoursePlaySourceConfigVOListByMap(@Param("params") Map<String, Object> params);

    @Select("SELECT appid dict_value1, `name` dict_label FROM fs_course_play_source_config WHERE is_mall = 1 AND is_del = 0")
    List<OptionsVO> selectCoursePlaySourceConfigVOList();
}
