package com.ruoyi.learn.mapper;

import java.util.List;
import com.ruoyi.learn.domain.LearnKnowledgeQuestion;

/**
 * 知识点题关系Mapper接口
 * 
 * @author ruoyi
 * @date 2025-09-25
 */
public interface LearnKnowledgeQuestionMapper 
{
    /**
     * 查询知识点题关系
     * 
     * @param id 知识点题关系主键
     * @return 知识点题关系
     */
    public LearnKnowledgeQuestion selectLearnKnowledgeQuestionById(Long id);

    /**
     * 查询知识点题关系列表
     * 
     * @param learnKnowledgeQuestion 知识点题关系
     * @return 知识点题关系集合
     */
    public List<LearnKnowledgeQuestion> selectLearnKnowledgeQuestionList(LearnKnowledgeQuestion learnKnowledgeQuestion);

    /**
     * 新增知识点题关系
     * 
     * @param learnKnowledgeQuestion 知识点题关系
     * @return 结果
     */
    public int insertLearnKnowledgeQuestion(LearnKnowledgeQuestion learnKnowledgeQuestion);

    /**
     * 修改知识点题关系
     * 
     * @param learnKnowledgeQuestion 知识点题关系
     * @return 结果
     */
    public int updateLearnKnowledgeQuestion(LearnKnowledgeQuestion learnKnowledgeQuestion);

    /**
     * 删除知识点题关系
     * 
     * @param id 知识点题关系主键
     * @return 结果
     */
    public int deleteLearnKnowledgeQuestionById(Long id);

    /**
     * 批量删除知识点题关系
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLearnKnowledgeQuestionByIds(Long[] ids);
}
