From 4c55edc6f53989beb03bf36aabb469d76470b517 Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期三, 23 十月 2024 15:43:48 +0800
Subject: [PATCH] 完成创建工单时对工单进行白名单判断
---
ycl-server/src/main/java/com/ycl/platform/controller/YwPointController.java | 6 ++++--
1 files changed, 4 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..5cbd808 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) {
--
Gitblit v1.8.0