package com.ruoyi.model.mapper;

import java.util.List;
import com.ruoyi.model.domain.ShortAnswerQuestions;

/**
 * 简答题考试记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-05
 */
public interface ShortAnswerQuestionsMapper 
{
    /**
     * 查询简答题考试记录
     * 
     * @param shortAnswerQuestionsId 简答题考试记录主键
     * @return 简答题考试记录
     */
    public ShortAnswerQuestions selectShortAnswerQuestionsByShortAnswerQuestionsId(Long shortAnswerQuestionsId);

    /**
     * 查询简答题考试记录列表
     * 
     * @param shortAnswerQuestions 简答题考试记录
     * @return 简答题考试记录集合
     */
    public List<ShortAnswerQuestions> selectShortAnswerQuestionsList(ShortAnswerQuestions shortAnswerQuestions);

    /**
     * 新增简答题考试记录
     * 
     * @param shortAnswerQuestions 简答题考试记录
     * @return 结果
     */
    public int insertShortAnswerQuestions(ShortAnswerQuestions shortAnswerQuestions);

    /**
     * 修改简答题考试记录
     * 
     * @param shortAnswerQuestions 简答题考试记录
     * @return 结果
     */
    public int updateShortAnswerQuestions(ShortAnswerQuestions shortAnswerQuestions);

    /**
     * 删除简答题考试记录
     * 
     * @param shortAnswerQuestionsId 简答题考试记录主键
     * @return 结果
     */
    public int deleteShortAnswerQuestionsByShortAnswerQuestionsId(Long shortAnswerQuestionsId);

    /**
     * 批量删除简答题考试记录
     * 
     * @param shortAnswerQuestionsIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShortAnswerQuestionsByShortAnswerQuestionsIds(Long[] shortAnswerQuestionsIds);

    /**
     * 查询简答题考试记录列表
     *
     * @return 简答题考试记录集合
     */
    public List<ShortAnswerQuestions> getShortAnswerQuestionsList();
}
