From c8201ac7f31b4e1bff4a655da00291fdfe57848d Mon Sep 17 00:00:00 2001 From: metersphere-bot <78466014+metersphere-bot@users.noreply.github.com> Date: Wed, 25 Aug 2021 20:45:15 +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=E7=9B=91=E6=8E=A7=E6=95=B0=E6=8D=AE=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=AD=A5=E9=95=BF=E8=BF=87=E9=95=BF=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(#5696)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: BugKing --- .../io/metersphere/performance/service/MetricQueryService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/performance/service/MetricQueryService.java b/backend/src/main/java/io/metersphere/performance/service/MetricQueryService.java index e10bc10e59..fc203316ad 100644 --- a/backend/src/main/java/io/metersphere/performance/service/MetricQueryService.java +++ b/backend/src/main/java/io/metersphere/performance/service/MetricQueryService.java @@ -266,7 +266,7 @@ public class MetricQueryService { .findFirst(); if (dataOptional.isPresent()) { GranularityData.Data data = dataOptional.get(); - granularity = data.getGranularity(); + granularity = data.getGranularity() / 1000; } } catch (Exception e) { LogUtil.error(e.getMessage(), e);