From 9a53c7ab6df8e62f7ae058a1a500c0051ab17a26 Mon Sep 17 00:00:00 2001 From: Kamil Jarmusik Date: Thu, 16 Nov 2023 17:56:18 +0100 Subject: [PATCH] #2770 Fixed minimum/maximum calculate in Meta Data Point script - 'desc' was added to the PointValueDAO.POINT_VALUE_FILTER_BEFORE_TIME_STAMP_BASE_ON_DATA_POINT_ID query at the end, now the start value used to calculate statistics should be correct and should not result in incorrect statistics calculation; --- src/org/scada_lts/dao/pointvalues/PointValueDAO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/scada_lts/dao/pointvalues/PointValueDAO.java b/src/org/scada_lts/dao/pointvalues/PointValueDAO.java index 3716957d7f..16fc28528a 100644 --- a/src/org/scada_lts/dao/pointvalues/PointValueDAO.java +++ b/src/org/scada_lts/dao/pointvalues/PointValueDAO.java @@ -209,7 +209,7 @@ public class PointValueDAO implements GenericDaoCR { public static final String POINT_VALUE_FILTER_BEFORE_TIME_STAMP_BASE_ON_DATA_POINT_ID = " " + "pv."+COLUMN_NAME_DATA_POINT_ID+"=? and " + "pv."+COLUMN_NAME_TIME_STAMP+"