From b78fda920855cf8c9a4b1751182fb87b92f102a6 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 1 Mar 2023 13:24:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9F=A5=E8=AF=A2=E7=9B=91=E6=8E=A7=E6=98=AF?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E8=BD=AC=E6=8D=A2=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #22321 --- .../main/java/io/metersphere/service/MetricQueryService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/performance-test/backend/src/main/java/io/metersphere/service/MetricQueryService.java b/performance-test/backend/src/main/java/io/metersphere/service/MetricQueryService.java index 315393d0ce..9ec4b0dcb5 100644 --- a/performance-test/backend/src/main/java/io/metersphere/service/MetricQueryService.java +++ b/performance-test/backend/src/main/java/io/metersphere/service/MetricQueryService.java @@ -133,7 +133,7 @@ public class MetricQueryService { LogUtil.error(e.getMessage(), e); LogUtil.error(e); } - values.add((double) ja.get(1)); + values.add(Double.valueOf(ja.get(1).toString())); }); if (CollectionUtils.isNotEmpty(values)) {