From 2ae8bf126599f68ba1ca721ff2acc1dd4461e9a5 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期二, 12 九月 2023 11:05:47 +0800 Subject: [PATCH] 1. 整合了飞羽环境、徐汇油烟及金山扬尘两个数据库; 2. 优化重构自动评估模块逻辑; 3. 新增监测数据自动化统; 4. 将自动统计应用于自动评估中; --- 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