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 selectTQuestionByPermanentId(String permanentId); List selectTQuestionByIds(List ids); List selectTQuestionList(TQuestion tQuestion); List selectTQuestionsForProductAddQuestion(TQuestion tQuestion); List 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 selectByIds(@Param("ids") List ids); List selectTQuestionByPermanentIds( List permanentIds); }