Skip to content

Commit

Permalink
Hotfix optiondation interval in logbook report SQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Oct 2, 2024
1 parent 4f0010e commit 8dd734d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ interface DBLogbookReportRepository :
FROM logbook_reports
WHERE
operation_datetime_utc
BETWEEN CAST(:operationDate AS TIMESTAMP) - INTERVAL '4 hours'
AND CAST(:operationDate AS TIMESTAMP) + INTERVAL '4 hours'
BETWEEN CAST(:operationDate AS TIMESTAMP) - INTERVAL '48 hours'
AND CAST(:operationDate AS TIMESTAMP) + INTERVAL '48 hours'
AND report_id = :reportId
AND log_type = 'PNO'
AND enriched = TRUE
Expand Down

0 comments on commit 8dd734d

Please sign in to comment.