From 3e2159e45e12b2b8af058b68eafeaf082cf3fe85 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 15 九月 2022 09:30:31 +0800 Subject: [PATCH] 2022.9.15 1. 根据微信小程序前端需求,添加各对应后台逻辑 --- 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