package com.gkhy.exam.system.mapper;
|
|
import com.gkhy.exam.system.domain.ExPaperQuestion;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 线下教育登记表 Mapper 接口
|
* </p>
|
*
|
* @author kzy
|
* @since 2024-06-06 13:53:17
|
*/
|
@Mapper
|
public interface ExPaperQuestionMapper extends BaseMapper<ExPaperQuestion> {
|
/**
|
* 根据考卷id删除试题
|
* @param paperId
|
*/
|
void deletebyPapaerId(Long paperId);
|
|
/**
|
* 批量插入
|
* @param paperQuestionList
|
*/
|
void batchInsert(List<ExPaperQuestion> paperQuestionList);
|
|
/**
|
* 删除考卷下试题
|
* @param paperId
|
* @param questionType
|
*/
|
void deletePaperQuestion(@Param("paperId") Long paperId, @Param("questionType") Integer questionType);
|
}
|