From 8f781f3cb17187a7ee58f41632c25fbb2aa81cc7 Mon Sep 17 00:00:00 2001
From: linzhijie <19970921lzj>
Date: 星期二, 16 三月 2021 19:57:24 +0800
Subject: [PATCH] 补充环境配置

---
 src/main/java/com/ots/project/exam/service/ITTextContentService.java |   83 +++++++++++++++++++++++++++++++++++++----
 1 files changed, 75 insertions(+), 8 deletions(-)

diff --git a/src/main/java/com/ots/project/exam/service/ITTextContentService.java b/src/main/java/com/ots/project/exam/service/ITTextContentService.java
index 23b82d8..9406dc3 100644
--- a/src/main/java/com/ots/project/exam/service/ITTextContentService.java
+++ b/src/main/java/com/ots/project/exam/service/ITTextContentService.java
@@ -1,27 +1,94 @@
 package com.ots.project.exam.service;
+
 import com.ots.project.exam.domain.TTextContent;
 import com.ots.project.exam.domain.TTextContentAndQuestion;
+
 import java.util.Date;
 import java.util.List;
 import java.util.function.Function;
 
+/**
+ * 棰樼洰鐨勫唴瀹筍ervice鎺ュ彛
+ *
+ * @author ots
+ * @date 2019-11-24
+ */
 public interface ITTextContentService {
-    
+    /**
+     * 鏌ヨ棰樼洰鐨勫唴瀹�
+     *
+     * @param id 棰樼洰鐨勫唴瀹笽D
+     * @return 棰樼洰鐨勫唴瀹�
+     */
     public TTextContent selectTTextContentById(Long id);
+
     public List<TTextContent> selectTTextContentByIds(String[] ids);
+
     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 ids 闇�瑕佸垹闄ょ殑鏁版嵁ID
+     * @return 缁撴灉
+     */
     public int deleteTTextContentByIds(String ids);
-    
+
+    /**
+     * 鍒犻櫎棰樼洰鐨勫唴瀹逛俊鎭�
+     *
+     * @param id 棰樼洰鐨勫唴瀹笽D
+     * @return 缁撴灉
+     */
     public int deleteTTextContentById(Long id);
-    
+
+
+    /**
+     * 鍒涘缓涓�涓猅extContent锛屽皢鍐呭杞寲涓簀son锛屽洖鍐欏埌content涓紝涓嶅叆搴�
+     *
+     * @param list
+     * @param now
+     * @param mapper
+     * @param <T>
+     * @param <R>
+     * @return
+     */
     <T, R> TTextContent jsonConvertInsert(List<T> list, Date now, Function<? super T, ? extends R> mapper);
-    
+
+    /**
+     * 淇敼涓�涓猅extContent锛屽皢鍐呭杞寲涓簀son锛屽洖鍐欏埌content涓紝涓嶅叆搴�
+     *
+     * @param textContent
+     * @param list
+     * @param mapper
+     * @param <T>
+     * @param <R>
+     * @return
+     */
     <T, R> TTextContent jsonConvertUpdate(TTextContent textContent, List<T> list, Function<? super T, ? extends R> mapper);
+
 }

--
Gitblit v1.9.1