package com.seer.teach.teacher.module.mapper;

import com.seer.teach.teacher.module.entity.KnowledgePointEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.seer.teach.teacher.module.param.KnowledgePointSearchParam;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.Set;

/**
 * <p>
 * 知识点表 Mapper 接口
 * </p>
 *
 * @author Wang
 * @since 2025-10-09 15:20:36
 */
public interface KnowledgePointsMapper extends BaseMapper<KnowledgePointEntity> {

    /**
     * 根据条件获取知识点ID集合
     *
     * @param param  查询参数
     * @return 符合条件的知识点ID集合
     */
    Collection<Integer> getKnowIdsByConditions(@Param("param") KnowledgePointSearchParam param);

}