heheng
6 天以前 eb71761e48cc18972b64d1e0abc1e34a3d8bc546
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package com.gkhy.exam.system.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.gkhy.exam.common.api.CommonPage;
import com.gkhy.exam.system.domain.ExExamPaper;
 
/**
 * <p>
 * 考卷(组卷)表 服务类
 * </p>
 *
 * @author kzy
 * @since 2024-06-05 15:07:36
 */
public interface ExExamPaperService extends IService<ExExamPaper> {
    /**
     * 根据条件分页查询考卷列表(后台接口)
     * @param examPaper
     * @return
     */
    CommonPage selectExamPaperList(ExExamPaper examPaper);
 
 
    /**
     * 根据id查询试卷信息(后台接口)
     *
     * @param paperId 试卷ID
     * @return 试卷信息
     */
    public ExExamPaper selectExamPaperById(Long paperId);
 
 
    /**
     * 新增试卷
     *
     * @param examPaper 试卷信息
     * @return 结果
     */
    public int insertExamPaper(ExExamPaper examPaper);
 
 
    /**
     * 修改试卷
     *
     * @param examPaper 试卷信息
     * @return 结果
     */
    public int updateExamPaper(ExExamPaper examPaper);
 
    /**
     * 删除试卷信息
     *
     * @param paperId 试卷ID
     * @return 结果
     */
    public int deleteExamPaperById(Long paperId);
 
    /**
     * 校验考卷名称是否唯一
     *
     * @param examPaper 考卷信息
     * @return boolean
     */
    public boolean checkNameUnique(ExExamPaper examPaper);
 
    /**
     * 更新试卷状态
     * @param paperId
     * @param status
     * @return
     */
    public int changeExamPaperStatus(Long paperId,Integer status);
 
 
 
}