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/TTextContentMapper.java | 63 +++++++++++++++++++++++++++---- 1 files changed, 55 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/ots/project/exam/mapper/TTextContentMapper.java b/src/main/java/com/ots/project/exam/mapper/TTextContentMapper.java index 5536664..420bdb1 100644 --- a/src/main/java/com/ots/project/exam/mapper/TTextContentMapper.java +++ b/src/main/java/com/ots/project/exam/mapper/TTextContentMapper.java @@ -1,23 +1,70 @@ package com.ots.project.exam.mapper; + import com.ots.project.exam.domain.TTextContent; import com.ots.project.exam.domain.TTextContentAndQuestion; + import java.util.List; +/** + * 棰樼洰鐨勫唴瀹筂apper鎺ュ彛 + * + * @author ots + * @date 2019-11-24 + */ public interface TTextContentMapper { - + /** + * 鏌ヨ棰樼洰鐨勫唴瀹� + * + * @param id 棰樼洰鐨勫唴瀹笽D + * @return 棰樼洰鐨勫唴瀹� + */ public TTextContent selectTTextContentById(Long id); - + + //鐢╥n鐨勬柟寮忔煡璇� public List<TTextContent> selectTTextContentByIds(String[] ids); - + + //甯uestionId鐨� public List<TTextContentAndQuestion> selectTextContentAndQuestion(String[] ids); - + + + /** + * 鏌ヨ棰樼洰鐨勫唴瀹瑰垪琛� + * + * @param tTextContent 棰樼洰鐨勫唴瀹� + * @return 棰樼洰鐨勫唴瀹归泦鍚� + */ public List<TTextContent> selectTTextContentList(TTextContent tTextContent); - + + /** + * 鏂板棰樼洰鐨勫唴瀹� + * + * @param tTextContent 棰樼洰鐨勫唴瀹� + * @return 缁撴灉 + */ public int insertTTextContent(TTextContent tTextContent); - + + /** + * 淇敼棰樼洰鐨勫唴瀹� + * + * @param tTextContent 棰樼洰鐨勫唴瀹� + * @return 缁撴灉 + */ public int updateTTextContent(TTextContent tTextContent); - + + /** + * 鍒犻櫎棰樼洰鐨勫唴瀹� + * + * @param id 棰樼洰鐨勫唴瀹笽D + * @return 缁撴灉 + */ public int deleteTTextContentById(Long id); - + + /** + * 鎵归噺鍒犻櫎棰樼洰鐨勫唴瀹� + * + * @param ids 闇�瑕佸垹闄ょ殑鏁版嵁ID + * @return 缁撴灉 + */ public int deleteTTextContentByIds(String[] ids); + } -- Gitblit v1.9.1