package com.qmth.distributed.print.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qmth.distributed.print.business.bean.result.ObeCourseTargetResult;
import com.qmth.distributed.print.business.entity.ObeCourseTarget;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程目标表 Mapper 接口
 * </p>
 *
 * @author CaoZixuan
 * @since 2024-02-22
 */
public interface ObeCourseTargetMapper extends BaseMapper<ObeCourseTarget> {

    /**
     * 根据课程大纲id查询课程目标列表
     *
     * @param obeCourseOutlineId 课程大纲id
     * @return 课程目标列表
     */
    List<ObeCourseTargetResult> findCourseTargetList(@Param("obeCourseOutlineId") Long obeCourseOutlineId);
}