qirong
2023-06-20 e40857210a448e805913ed66f3b378d2a501c58f
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
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);
}