From 1a677d2b4a4bc615602f8c2a22bc07ec1356e5be Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 16 十月 2025 17:39:06 +0800
Subject: [PATCH] 2025.10.16 1. 根据全局响应增强器GlobalResponseAdvice,将原先的BaseResPack接口包装函数统一去除; 2. 新增三种类型的数据产品数据库实体 3. 新增典型问题场景清单中间数据产品接口
---
src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt | 34 ++++++++++++++++++++++++++++++----
1 files changed, 30 insertions(+), 4 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 38b81f4..bea088b 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt
@@ -1,7 +1,12 @@
package cn.flightfeather.supervision.lightshare.service
+import cn.flightfeather.supervision.common.executor.BgTaskStatus
import cn.flightfeather.supervision.domain.ds1.entity.Evaluation
-import cn.flightfeather.supervision.lightshare.vo.AreaVo
+import cn.flightfeather.supervision.domain.ds1.entity.Itemevaluation
+import cn.flightfeather.supervision.lightshare.vo.*
+import org.springframework.web.multipart.MultipartFile
+import springfox.documentation.annotations.ApiIgnore
+import javax.servlet.http.HttpServletResponse
interface EvaluationService {
@@ -17,9 +22,7 @@
fun getRankOfSense(tguid: String, scensetypeid: String?, ruletypeid: ByteArray?): List<Evaluation>
- fun getRankOfTown(tguid: String, scensetypeid: String?):List<AreaVo>
-
- fun getTopTaskByScene(sceneId: String?): String?
+ fun getRankOfTown(tguid: String, scensetypeid: String?):List<EvaluateResVo>
fun autoScore(districtCode: String, time: String): List<String>
@@ -28,4 +31,27 @@
fun autoScore3(tGuid: String, sceneTypeId: String): String
fun findByInspectionId(inspectionId:String):List<Evaluation>
+
+ /**
+ * 鏍规嵁鍦烘櫙ID鏌ヨ璇勪及缁撴灉
+ * @param sceneId 鍦烘櫙ID\
+ * @param page 椤电爜
+ * @param pageSize 姣忛〉鏁伴噺
+ * @return 璇勪及鍒楄〃
+ */
+ fun findBySceneId(sceneId:String, page:Int, pageSize:Int):Pair<DataHead, List<Evaluation>>
+
+ /**
+ * 鑷姩璇勪及
+ * @param areaVo 璇勪及鑼冨洿
+ */
+ fun autoEvaluate(areaVo: AreaVo): BgTaskStatus?
+
+ fun findAutoEvaluation(areaVo: AreaVo): List<AutoScoreResultVo?>?
+
+ fun downloadAutoEvaluation(areaVo: AreaVo, forceUpdate: Boolean, response: HttpServletResponse): Boolean
+
+ fun downloadAutoEvaTemplate(areaVo: AreaVo, response: HttpServletResponse)
+
+ fun uploadAutoEvaluation(areaVo: AreaVo, file: MultipartFile): Boolean
}
\ No newline at end of file
--
Gitblit v1.9.3