Skip to content

Commit

Permalink
Merge pull request #2771 from SCADA-LTS/fix/#2770_Fixed_minimum/maxim…
Browse files Browse the repository at this point in the history
…um_calculate_in_Meta_Data_Point_script

#2770 Fixed minimum/maximum calculate in Meta Data Point script - 'de…
  • Loading branch information
Limraj authored Nov 17, 2023
2 parents 113d651 + 9a53c7a commit 11407ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/scada_lts/dao/pointvalues/PointValueDAO.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public class PointValueDAO implements GenericDaoCR<PointValue> {
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+"<? "
+ "order by pv."+COLUMN_NAME_TIME_STAMP;
+ "order by pv."+COLUMN_NAME_TIME_STAMP+" desc";

public static final String POINT_VALUE_FILTER_AT_TIME_STAMP_BASE_ON_DATA_POINT_ID = " "
+ "pv."+COLUMN_NAME_DATA_POINT_ID+"=? and "
Expand Down

0 comments on commit 11407ae

Please sign in to comment.