From 2c5328aa91d2d11aae0c062907ec6158222db937 Mon Sep 17 00:00:00 2001 From: huguanghan Date: Wed, 18 Dec 2024 21:25:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=AA=97=E5=8F=A3=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/das/modules/data/service/impl/DataServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/das/src/main/java/com/das/modules/data/service/impl/DataServiceImpl.java b/das/src/main/java/com/das/modules/data/service/impl/DataServiceImpl.java index 92ebb8e2..cf24925b 100644 --- a/das/src/main/java/com/das/modules/data/service/impl/DataServiceImpl.java +++ b/das/src/main/java/com/das/modules/data/service/impl/DataServiceImpl.java @@ -166,7 +166,7 @@ public class DataServiceImpl implements DataService { List deviceFieldList = param.getDevices(); for (SnapshotValueQueryParam item : deviceFieldList) { //field分为高频和低频查询 - Map>> values = queryWindowsCurveValues(Long.valueOf(item.getDeviceId()), startTime, endTime, param.getInterval(), param.getFill(), item.getAttributes(),windowType); + Map>> values = queryWindowsCurveValues(Long.valueOf(item.getDeviceId()), startTime, endTime, param.getInterval(), item.getAttributes(),windowType); result.putAll(values); } Long end = System.currentTimeMillis(); @@ -231,7 +231,7 @@ public class DataServiceImpl implements DataService { return result; } - private Map>> queryWindowsCurveValues(Long irn, Date startTime, Date endTime, String interval, String fill, List attributes,String windowType) { + private Map>> queryWindowsCurveValues(Long irn, Date startTime, Date endTime, String interval, List attributes,String windowType) { StopWatch stopWatch = new StopWatch(); stopWatch.start("prepare resources"); String function = mappingFunction(windowType);