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);
|
}
|