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/ITQuestionService.java |   75 +++++++++++++++++++++++++++++++++----
 1 files changed, 67 insertions(+), 8 deletions(-)

diff --git a/src/main/java/com/ots/project/exam/service/ITQuestionService.java b/src/main/java/com/ots/project/exam/service/ITQuestionService.java
index 27c8874..364b295 100644
--- a/src/main/java/com/ots/project/exam/service/ITQuestionService.java
+++ b/src/main/java/com/ots/project/exam/service/ITQuestionService.java
@@ -1,28 +1,87 @@
 package com.ots.project.exam.service;
+
 import com.ots.project.exam.domain.TQuestion;
 import com.ots.project.exam.viewmodel.QuestionEditRequestVM;
+
 import java.util.List;
 import java.util.Map;
 
+/**
+ * 棰樼洰鍒楄〃Service鎺ュ彛
+ *
+ * @author Shawn
+ * @date 2019-11-20
+ */
 public interface ITQuestionService {
-    
+    /**
+     * 鏌ヨ棰樼洰鍒楄〃
+     *
+     * @param id 棰樼洰鍒楄〃ID
+     * @return 棰樼洰鍒楄〃
+     */
     TQuestion selectTQuestionById(Long id);
+
     List<TQuestion> selectTQuestionByIds(List<Long> ids);
+
     List<TQuestion> selectTQuestionByPermanentIds(List<String> ids);
-    
+
+    /**
+     * 鏌ヨ棰樼洰鍒楄〃鍒楄〃
+     *
+     * @param tQuestion 棰樼洰鍒楄〃
+     * @return 棰樼洰鍒楄〃闆嗗悎
+     */
     List<TQuestion> selectTQuestionList(TQuestion tQuestion);
+
     List<TQuestion> selectTQuestionsForProductAddQuestion(TQuestion tQuestion);
-    
+
+    /**
+     * 鏂板棰樼洰鍒楄〃
+     *
+     * @param tQuestion 棰樼洰鍒楄〃
+     * @return 缁撴灉
+     */
     int insertTQuestion(TQuestion tQuestion);
-    
+
+    /**
+     * 淇敼棰樼洰鍒楄〃
+     *
+     * @param tQuestion 棰樼洰鍒楄〃
+     * @return 缁撴灉
+     */
     int updateTQuestion(TQuestion tQuestion);
-    
+
+    /**
+     * 鎵归噺鍒犻櫎棰樼洰鍒楄〃
+     *
+     * @param ids 闇�瑕佸垹闄ょ殑鏁版嵁ID
+     * @return 缁撴灉
+     */
     int deleteTQuestionByIds(String ids);
+
     int deleteQuestionContent(TQuestion tQuestion);
-    
+
+    /**
+     * 鍒犻櫎棰樼洰鍒楄〃淇℃伅
+     *
+     * @param id 棰樼洰鍒楄〃ID
+     * @return 缁撴灉
+     */
     int deleteTQuestionById(Long id);
-    
+
+    /**
+     * 杩斿洖缁欑瓟棰榲ue绔殑鏁版嵁
+     *
+     * @param
+     * @return
+     */
     QuestionEditRequestVM getQuestionEditRequestVM(TQuestion question);
-    
+
+    /**
+     * 鎻掑叆瀵煎叆鐨勯鐩�
+     *
+     * @param excelList
+     * @return
+     */
     String insertImportQuestion(List<Map<Integer, String>> excelList);
 }

--
Gitblit v1.9.1