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>>>
|
}
|