package com.ruoyi.model.service;

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

/**
 * 简答题考试记录Service接口
 * 
 * @author ruoyi
 * @date 2025-03-05
 */
public interface IShortAnswerQuestionsService 
{
    /**
     * 查询简答题考试记录
     * 
     * @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 shortAnswerQuestionsIds 需要删除的简答题考试记录主键集合
     * @return 结果
     */
    public int deleteShortAnswerQuestionsByShortAnswerQuestionsIds(Long[] shortAnswerQuestionsIds);

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

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