package org.dromara.zjk.learning_world.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.zjk.learning_world.domain.entity.ZjkLearningCourse;
import org.dromara.zjk.learning_world.domain.vo.ZjkLearningCourseVo;

import java.util.List;

/**
 * 课程Mapper接口
 *
 * @author ygh
 * @date 2024-11-08
 */
public interface ZjkLearningCourseMapper extends BaseMapperPlus<ZjkLearningCourse, ZjkLearningCourseVo> {

    ZjkLearningCourseVo queryById(@Param("id")Long id);


    List<Long> selectIdsByName(String courseName);
}
