Skip to content

Commit

Permalink
JPE - Augmenter la plage de dates pour les RET (#4027)
Browse files Browse the repository at this point in the history
## Linked issues

- Resolve #4015

----

- [ ] Tests E2E (Cypress)
  • Loading branch information
louptheron authored Jan 20, 2025
2 parents 03dee51 + bf396f1 commit 8bdbe09
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ interface DBLogbookReportRepository :
FROM logbook_reports
WHERE referenced_report_id IN (select report_id FROM dat_cor)
AND operation_datetime_utc >= cast(:startDate AS TIMESTAMP) - INTERVAL '1 day'
AND operation_datetime_utc <= cast(:endDate AS TIMESTAMP) + INTERVAL '1 day'
AND operation_datetime_utc <= cast(:endDate AS TIMESTAMP) + INTERVAL '3 days'
AND operation_type = 'RET'
AND NOT is_test_message
)
Expand Down Expand Up @@ -384,7 +384,7 @@ interface DBLogbookReportRepository :
WHERE
referenced_report_id IN (select report_id FROM dat_cor) AND
operation_datetime_utc >= cast(?2 AS timestamp) - INTERVAL '1 day' AND
operation_datetime_utc < cast(?3 AS timestamp) + INTERVAL '1 day' AND
operation_datetime_utc < cast(?3 AS timestamp) + INTERVAL '3 days' AND
operation_type = 'RET'
AND NOT is_test_message
ORDER BY operation_datetime_utc DESC
Expand Down

0 comments on commit 8bdbe09

Please sign in to comment.