Skip to content

Commit

Permalink
remove comentário no select final
Browse files Browse the repository at this point in the history
  • Loading branch information
akaBotelho committed Aug 1, 2024
1 parent 978e0b1 commit 81831c9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions queries/models/subsidio/viagem_transacao.sql
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,6 @@ SELECT
v.servico,
CASE
WHEN v.data >= DATE("{{ var("DATA_SUBSIDIO_V8_INICIO") }}")
-- AND ((COALESCE(t.quantidade_transacao, 0) = 0
-- AND COALESCE(tr.quantidade_transacao_riocard, 0) = 0)
-- OR eev.conta_estado_fechado != 0)
AND (COALESCE(tr.quantidade_transacao_riocard, 0) = 0
OR COALESCE(eev.indicador_estado_equipamento_aberto, FALSE) = FALSE)
AND ve.status IN ("Licenciado com ar e não autuado", "Licenciado sem ar e não autuado")
Expand Down

0 comments on commit 81831c9

Please sign in to comment.