Skip to content

Commit

Permalink
Update query
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAntoine committed Aug 14, 2024
1 parent ddf317e commit dc19812
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ interface DBLogbookReportRepository :
FROM filtered_dat_and_cor_pno_logbook_reports
WHERE
report_id IN (SELECT referenced_report_id FROM acknowledged_report_ids)
OR transmission_format = 'FLUX'
OR flag_state NOT IN ('FRA', 'GUF', 'VEN') -- flag_states for which we received RET messages
UNION ALL
SELECT *
FROM del_pno_logbook_reports
WHERE
operation_number IN (SELECT referenced_report_id FROM acknowledged_report_ids)
OR transmission_format = 'FLUX'
OR flag_state NOT IN ('FRA', 'GUF', 'VEN') -- flag_states for which we received RET messages
""",
nativeQuery = true,
)
Expand Down

0 comments on commit dc19812

Please sign in to comment.