From b23f8cd1438c2b3c6f7e334502de619ffbb7fdc7 Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期三, 24 三月 2021 19:24:01 +0800 Subject: [PATCH] 报告邮件标题跟随语言变换 --- src/main/java/com/ots/project/exam/mapper/TQuestionMapper.java | 63 ++++++++++++++++++++++++++++--- 1 files changed, 57 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/ots/project/exam/mapper/TQuestionMapper.java b/src/main/java/com/ots/project/exam/mapper/TQuestionMapper.java index 3bbfa1b..9bce59b 100644 --- a/src/main/java/com/ots/project/exam/mapper/TQuestionMapper.java +++ b/src/main/java/com/ots/project/exam/mapper/TQuestionMapper.java @@ -1,27 +1,78 @@ package com.ots.project.exam.mapper; + import com.ots.project.exam.domain.TQuestion; import org.apache.ibatis.annotations.Param; + import java.util.List; +/** + * 棰樼洰鍒楄〃Mapper鎺ュ彛 + * + * @author Shawn + * @date 2019-11-20 + */ public interface TQuestionMapper { - + /** + * 鏌ヨ棰樼洰鍒楄〃 + * + * @param id 棰樼洰鍒楄〃ID + * @return 棰樼洰鍒楄〃 + */ TQuestion selectTQuestionById(Long id); + List<TQuestion> selectTQuestionByPermanentId(String permanentId); + List<TQuestion> selectTQuestionByIds(List<Long> ids); - + + /** + * 鏌ヨ棰樼洰鍒楄〃鍒楄〃 + * + * @param tQuestion 棰樼洰鍒楄〃 + * @return 棰樼洰鍒楄〃闆嗗悎 + */ List<TQuestion> selectTQuestionList(TQuestion tQuestion); + List<TQuestion> selectTQuestionsForProductAddQuestion(TQuestion tQuestion); + List<TQuestion> selectTQuestionScore(Integer[] ids); - + + /** + * 鏂板棰樼洰鍒楄〃 + * + * @param tQuestion 棰樼洰鍒楄〃 + * @return 缁撴灉 + */ int insertTQuestion(TQuestion tQuestion); - + + /** + * 淇敼棰樼洰鍒楄〃 + * + * @param tQuestion 棰樼洰鍒楄〃 + * @return 缁撴灉 + */ int updateTQuestion(TQuestion tQuestion); + int updateTQuestionByPermanentId(TQuestion tQuestion); - + + /** + * 鍒犻櫎棰樼洰鍒楄〃 + * + * @param id 棰樼洰鍒楄〃ID + * @return 缁撴灉 + */ int deleteTQuestionById(Long id); - + + /** + * 鎵归噺鍒犻櫎棰樼洰鍒楄〃 + * + * @param ids 闇�瑕佸垹闄ょ殑鏁版嵁ID + * @return 缁撴灉 + */ int deleteTQuestionByIds(String[] ids); + int updateQuetionByDelete(String[] ids); + List<TQuestion> selectByIds(@Param("ids") List<Integer> ids); + List<TQuestion> selectTQuestionByPermanentIds( List<String> permanentIds); } -- Gitblit v1.9.1