From baf2cc2ce3dfd1235c012a3750132769fcd9ad2f Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 18 九月 2025 17:02:05 +0800 Subject: [PATCH] 2025.9.18 1. 联合前端调试数据产品接口(待完成) --- src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 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 2f897f6..0d16126 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/EvaluationService.kt @@ -6,6 +6,10 @@ import cn.flightfeather.supervision.lightshare.vo.AreaVo import cn.flightfeather.supervision.lightshare.vo.AutoScoreResultVo import cn.flightfeather.supervision.lightshare.vo.BaseResponse +import cn.flightfeather.supervision.lightshare.vo.EvaluateResVo +import org.springframework.web.multipart.MultipartFile +import springfox.documentation.annotations.ApiIgnore +import javax.servlet.http.HttpServletResponse interface EvaluationService { @@ -21,7 +25,7 @@ fun getRankOfSense(tguid: String, scensetypeid: String?, ruletypeid: ByteArray?): List<Evaluation> - fun getRankOfTown(tguid: String, scensetypeid: String?):List<AreaVo> + fun getRankOfTown(tguid: String, scensetypeid: String?):List<EvaluateResVo> fun autoScore(districtCode: String, time: String): List<String> @@ -38,4 +42,10 @@ 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