From 23bd719cebe5feeff4e48fde925b0b39755eea93 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 15 十一月 2022 10:59:50 +0800
Subject: [PATCH] 2022.11.15

---
 src/main/kotlin/cn/flightfeather/supervision/lightshare/service/OnLineQuestionService.kt |   29 +++++++++++++++++++++++++++--
 1 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/OnLineQuestionService.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/OnLineQuestionService.kt
index 10647ee..a17f555 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/OnLineQuestionService.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/OnLineQuestionService.kt
@@ -1,7 +1,7 @@
 package cn.flightfeather.supervision.lightshare.service
 
-import cn.flightfeather.supervision.domain.entity.OnLineQuestion
-import cn.flightfeather.supervision.lightshare.vo.QCondition
+import cn.flightfeather.supervision.domain.entity.*
+import cn.flightfeather.supervision.lightshare.vo.*
 import javax.servlet.http.HttpServletResponse
 
 interface OnLineQuestionService {
@@ -16,4 +16,29 @@
 
     fun getQByConditions(userId: String, inUse: Boolean, qCondition: QCondition, page: Int, perPage: Int,response: HttpServletResponse): List<OnLineQuestion>
 
+    fun searchLaw(userId: String, keyword: String, type: Byte?, page: Int, perPage: Int): BaseResponse<List<ConsultResultVo>>
+
+    fun getTopicLaw(userId: String):List<MgtFileVo>
+
+    fun getMgtFile(userId: String, fileId: String): MgtFileVo
+
+    fun getTopicMgtItems(userId: String):List<MgtItem>
+
+    fun getMgtItem(userId: String, itemId: String): MgtItem
+
+    fun getTopicQA(userId: String):List<CstQuestionVo>
+
+    fun getQuestionsByType(userId: String, kind:Byte?, subKind:Byte?, page: Int, perPage: Int): BaseResponse<List<ConsultResultVo>>
+
+    fun getQuestion(userId: String, qId: String): CstQuestionVo
+
+    fun getAnswers(userId: String, qId: String): List<SettingAnswer>
+
+    fun getTopicCase(userId: String):List<EnforceCaseVo>
+
+    fun getCase(userId: String, caseId:String):EnforceCaseVo
+
+    fun getEnElementTypes(userId: String): List<Pair<String, Byte>>
+
+    fun getEnElementSubTypes(userId: String): List<List<Pair<String, Byte>>>
 }
\ No newline at end of file

--
Gitblit v1.9.3