From 909fd8929d7906f1dca68acc05e36e29b0b9192c Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期二, 15 十一月 2022 10:57:30 +0800 Subject: [PATCH] 2022.11.15 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationController.kt | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationController.kt index ef2e02c..1bc358c 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationController.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationController.kt @@ -37,6 +37,12 @@ fun autoScore(@RequestParam(value = "districtCode") districtCode: String, @RequestParam(value = "time") time: String) = evaluationService.autoScore(districtCode, time) + @GetMapping("/autoScore3") + fun autoScore3( + @RequestParam(value = "topTaskId") tGuid: String, + @RequestParam(value = "sceneTypeId") sceneTypeId: String + ) = evaluationService.autoScore3(tGuid, sceneTypeId) + @PostMapping("/autoScore") fun autoScore2(@RequestParam(value = "subTaskId") subTaskId: String) = evaluationService.autoScore2(subTaskId) -- Gitblit v1.9.3