package com.seer.teach.teacher.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.seer.teach.teacher.module.entity.ExampleQuestionsEntity;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 例题表 服务类
 * </p>
 *
 * @author Wang
 * @since 2025-10-09 15:20:36
 */
public interface ExampleQuestionsService extends IService<ExampleQuestionsEntity> {

    /**
     * 根据知识点ID列表获取例题
     *
     * @param knowledgePointIds 知识点ID列表
     * @return 例题列表
     */
    List<ExampleQuestionsEntity> getQuestionsByKnowleIds(Collection<Integer> knowledgePointIds);


    /**
     * 根据知识点ID列表获取例题
     *
     * @param knowledgePointId 知识点ID
     * @return 例题列表
     */
    List<ExampleQuestionsEntity> getQuestionsByKnowleId(Integer knowledgePointId);
}