feiyu02
2022-09-15 3e2159e45e12b2b8af058b68eafeaf082cf3fe85
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>>>
}