feiyu02
2022-09-23 497475defd5d0ebf90ae6a8e2b080a16d78043ab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package cn.flightfeather.supervision.lightshare.service
 
import cn.flightfeather.supervision.domain.entity.*
import cn.flightfeather.supervision.lightshare.vo.*
import javax.servlet.http.HttpServletResponse
 
interface OnLineQuestionService {
 
    fun addQuestions(userId: String, questions: List<OnLineQuestion>): Int
 
    fun getQuestions(userId: String, inUse: Boolean, page: Int, perPage: Int,response: HttpServletResponse): List<OnLineQuestion>
 
    fun getQDescription(userId: String, questionId: String): String
 
    fun getQResource(userId: String, questionId: String, page: Int, perPage: Int,response: HttpServletResponse): List<String>
 
    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>>>
}