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
package com.mindskip.xzs.repository;
 
import com.mindskip.xzs.domain.QuestionSubject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
@Mapper
public interface QuestionSubjectMapper extends BaseMapper<QuestionSubject>{
 
    /**
     * 批量删除
     * @param ids
     * @return
     */
    Integer removes(@Param("ids") Integer[] ids);
 
    /**
     *
     * @return
     */
    List<QuestionSubject> getQuestion(Integer id);
 
    Integer saves(List<QuestionSubject> list);
 
    Integer removeQuestionId(Integer questionId);
 
    Integer removeSubjectId(Integer subjectId);
 
    List<QuestionSubject> getSubject(Integer id);
}