From 48ee232a0b15630f4608321ee923ca2b146264ac Mon Sep 17 00:00:00 2001 From: guofeihu <3347277866@qq.com> Date: Tue, 6 Aug 2024 14:21:51 +0800 Subject: [PATCH] =?UTF-8?q?influxDb=E7=9A=84EntData=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E7=89=88=E6=9C=AC=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/CsGroupServiceImpl.java | 7 ++++--- .../impl/PortableOfflLogServiceImpl.java | 19 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/service/impl/CsGroupServiceImpl.java b/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/service/impl/CsGroupServiceImpl.java index 7c7211b..d47e02b 100644 --- a/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/service/impl/CsGroupServiceImpl.java +++ b/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/service/impl/CsGroupServiceImpl.java @@ -270,14 +270,15 @@ public class CsGroupServiceImpl extends ServiceImpl impl commonQueryParam.setTableName(getTableNameByClassId(epdPqd.getClassId())); commonQueryParam.setColumnName(epdPqd.getName()+ (param.getFrequency() == null ? "":"_"+param.getFrequency())); commonQueryParam.setPhasic(epdPqd.getPhase()); - commonQueryParam.setStartTime(commonStatisticalQueryParam.getStartTime()); - commonQueryParam.setEndTime(commonStatisticalQueryParam.getEndTime()); + //commonQueryParam.setStartTime(commonStatisticalQueryParam.getStartTime()); + //commonQueryParam.setEndTime(commonStatisticalQueryParam.getEndTime()); commonQueryParam.setDataType(commonStatisticalQueryParam.getValueType()); commonQueryParam.setProcess(data1.get(0).getProcess()+""); commonQueryParam.setClDid(getClDidByLineId(temp.getLineId())); return commonQueryParam; }).collect(Collectors.toList()); - List deviceRtData = commonService.getDeviceRtDataByTime(commonQueryParams); + //List deviceRtData = commonService.getDeviceRtDataByTime(commonQueryParams); + List deviceRtData = commonService.getDeviceRtData(commonQueryParams); List collect1 = deviceRtData.stream().map(temp -> { ThdDataVO vo = new ThdDataVO(); vo.setLineId(temp.getLineId()); diff --git a/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/service/impl/PortableOfflLogServiceImpl.java b/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/service/impl/PortableOfflLogServiceImpl.java index c6e9122..b4cf1be 100644 --- a/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/service/impl/PortableOfflLogServiceImpl.java +++ b/cs-device/cs-device-boot/src/main/java/com/njcn/csdevice/service/impl/PortableOfflLogServiceImpl.java @@ -258,34 +258,33 @@ public class PortableOfflLogServiceImpl extends ServiceImpl