linzhijie
2021-04-12 c632636e2f5b4188b430f5efc9d9f68c8dbe3d6d
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
package com.ots.project.exam.service;
import com.ots.project.exam.domain.TQuestion;
import com.ots.project.exam.viewmodel.QuestionEditRequestVM;
import java.util.List;
import java.util.Map;
 
public interface ITQuestionService {
    
    TQuestion selectTQuestionById(Long id);
    List<TQuestion> selectTQuestionByIds(List<Long> ids);
    List<TQuestion> selectTQuestionByPermanentIds(List<String> ids);
    
    List<TQuestion> selectTQuestionList(TQuestion tQuestion);
    List<TQuestion> selectTQuestionsForProductAddQuestion(TQuestion tQuestion);
    
    int insertTQuestion(TQuestion tQuestion);
    
    int updateTQuestion(TQuestion tQuestion);
    
    int deleteTQuestionByIds(String ids);
    int deleteQuestionContent(TQuestion tQuestion);
    
    int deleteTQuestionById(Long id);
    
    QuestionEditRequestVM getQuestionEditRequestVM(TQuestion question);
    
    String insertImportQuestion(List<Map<Integer, String>> excelList);
}