linzhijie
2021-03-11 c33914ba0a98c823c4b4d7da21cdd476906c9924
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
package com.ots.project.exam.mapper;
import com.ots.project.exam.domain.TQuestion;
import org.apache.ibatis.annotations.Param;
import java.util.List;
 
public interface TQuestionMapper {
    
    TQuestion selectTQuestionById(Long id);
    List<TQuestion> selectTQuestionByPermanentId(String permanentId);
    List<TQuestion> selectTQuestionByIds(List<Long> ids);
    
    List<TQuestion> selectTQuestionList(TQuestion tQuestion);
    List<TQuestion> selectTQuestionsForProductAddQuestion(TQuestion tQuestion);
    List<TQuestion> selectTQuestionScore(Integer[] ids);
    
    int insertTQuestion(TQuestion tQuestion);
    
    int updateTQuestion(TQuestion tQuestion);
    int updateTQuestionByPermanentId(TQuestion tQuestion);
    
    int deleteTQuestionById(Long id);
    
    int deleteTQuestionByIds(String[] ids);
    int updateQuetionByDelete(String[] ids);
    List<TQuestion> selectByIds(@Param("ids") List<Integer> ids);
    List<TQuestion> selectTQuestionByPermanentIds( List<String> permanentIds);
}