From e780c4035d2554e88ffde2102f3b3db09d9bc2e7 Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Mon, 25 Mar 2024 21:06:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E4=B8=AD=E7=9A=84=E7=94=A8=E4=BE=8B=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=98=BE=E7=A4=BA=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/controller/ApiExecuteResourceController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiExecuteResourceController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiExecuteResourceController.java index fb7a018512..7684dcf60a 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiExecuteResourceController.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/ApiExecuteResourceController.java @@ -44,8 +44,8 @@ public class ApiExecuteResourceController { LogUtils.info("获取执行脚本: {}", key); String script = stringRedisTemplate.opsForValue().get(key); stringRedisTemplate.delete(key); - apiReportService.updateReportStatus(reportId, ApiReportStatus.RERUNNING.name()); - apiScenarioReportService.updateReportStatus(reportId, ApiReportStatus.RERUNNING.name()); + apiReportService.updateReportStatus(reportId, ApiReportStatus.RUNNING.name()); + apiScenarioReportService.updateReportStatus(reportId, ApiReportStatus.RUNNING.name()); return Optional.ofNullable(script).orElse(StringUtils.EMPTY); }