From 752e00503f672ddfe2066afb6c235721a3a912b5 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期二, 19 十一月 2024 10:25:55 +0800 Subject: [PATCH] 2024.11.19 各项修正 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt index 7022128..02e417c 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt @@ -1,9 +1,7 @@ package cn.flightfeather.supervision.lightshare.service import cn.flightfeather.supervision.domain.entity.Evaluation -import cn.flightfeather.supervision.lightshare.vo.AssessmentGradeVo -import cn.flightfeather.supervision.lightshare.vo.AssessmentSearchCondition -import cn.flightfeather.supervision.lightshare.vo.CreditInfoVo +import cn.flightfeather.supervision.lightshare.vo.* import javax.servlet.http.HttpServletResponse @@ -20,11 +18,21 @@ fun getTotalPoints(userId: String, evaluatorType: Int, startTime: String, endTime: String, sceneTypeId: Int? = null, erGuid: String? = null, eId: String? = null): List<Evaluation> - fun getHistoryPoint(userId: String, page: Int, per_page: Int, response: HttpServletResponse): List<AssessmentGradeVo> + fun getHistoryPoint(userId: String, page: Int, per_page: Int, platform: String?, period: String?, response: HttpServletResponse): List<AssessmentGradeVo> - fun getCreditInfo(userId: String): CreditInfoVo + fun getCreditInfo(userId: String, period: String?): CreditInfoVo + + fun getCreditCount(userId: String, condition: UserSearchCondition): BaseResponse<CountVo> fun getAssessments(userId: String, condition: AssessmentSearchCondition, page: Int, perPage: Int, response: HttpServletResponse): List<AssessmentGradeVo> fun autoScore(year: Int, month: Int, sceneType: Int, response: HttpServletResponse): HttpServletResponse + + fun uploadScore(userId: String, period: String, ruleId: String?, itemList: List<Pair<String, String>>): Boolean + + fun updateScore(userId: String, period: String, ruleId: String?, itemList: List<Pair<String, String>>): Boolean + + fun getDetail(userId: String, period: String): GradeDetailVo + + fun searchGradeList(userId: String, condition: UserSearchCondition, page: Int, perPage: Int): BaseResponse<List<CreditInfoVo>> } \ No newline at end of file -- Gitblit v1.9.3