heheng
10 天以前 bd605ac1e79b73db3b501f323d6f4a10c0f27dd5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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);
}