xiangpei
2024-07-09 c2cd507da74f1841d0133d4c9bff9025ce1066ba
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
package com.mindskip.xzs.service;
 
import com.mindskip.xzs.domain.QuestionSubject;
 
import java.util.List;
 
public interface QuestionSubjectService extends BaseService<QuestionSubject>{
 
    /**
     * 批量删除
     * @param ids
     * @return
     */
    Integer removes(Integer[] ids);
 
    /**
     * 添加
     * @param questionSubject
     * @return
     */
    Integer add(QuestionSubject questionSubject);
 
    /**
     *
     * @return
     */
    List<QuestionSubject> getQuestion(Integer id);
 
    /**
     * 批量添加
     * @param list
     * @return
     */
    Integer saves(List<QuestionSubject> list);
 
    /**
     * 根据试卷id批量删除
     * @param questionId
     * @return
     */
    Integer removeQuestionId(Integer questionId);
 
    Integer removeSubjectId(Integer subjectId);
 
    List<QuestionSubject> getSubject(Integer id);
 
    /**
     * 根据科目查询题目
     * @param subjectIds 科目
     * @return 题目
     */
    List<QuestionSubject> getSubjectBySubjectIds(Integer[] subjectIds);
}