From 64efb660b2c119c00432434c0f651f8996483f18 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 21 二月 2025 15:51:13 +0800 Subject: [PATCH] OSD大华数据格式+数据中心重点标签统计数 --- ycl-server/src/main/java/com/ycl/platform/controller/YwPointController.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/YwPointController.java b/ycl-server/src/main/java/com/ycl/platform/controller/YwPointController.java index f3b4c57..f7fce50 100644 --- a/ycl-server/src/main/java/com/ycl/platform/controller/YwPointController.java +++ b/ycl-server/src/main/java/com/ycl/platform/controller/YwPointController.java @@ -16,6 +16,8 @@ import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; +import java.util.concurrent.ExecutionException; + import org.springframework.validation.annotation.Validated; import jakarta.validation.constraints.NotEmpty; import io.swagger.annotations.Api; @@ -101,7 +103,7 @@ @GetMapping("/list") @ApiOperation(value = "鍒楄〃", notes = "鍒楄〃") - @PreAuthorize("@ss.hasPermi('point:list')") +// @PreAuthorize("@ss.hasPermi('point:list')") public Result list() { return ywPointService.all(); } @@ -124,7 +126,7 @@ Integer unitId, String startTime, Boolean needUpdateUnit, - String endTime) throws IOException, ParseException { + String endTime) throws IOException, ParseException, ExecutionException, InterruptedException { Date start = null; Date end = null; if (-1 == unitId) { @@ -141,4 +143,5 @@ return ywPointService.importData(file, unitId, start, end, needUpdateUnit); } + } -- Gitblit v1.8.0