Skip to content

Commit

Permalink
Merge pull request #518 from RJ-SMTR/bug-fix/correcao-consolidado
Browse files Browse the repository at this point in the history
Ajuste status
  • Loading branch information
williamfl2007 authored Oct 28, 2024
2 parents 28469c4 + ab3fa71 commit 3c23047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/relatorio/relatorio-sintetico.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class RelatorioSinteticoRepository {
query = query + ` (select distinct dta.id,dta."valorLancamento"
from detalhe_a dta
inner join item_transacao_agrupado tt on dta."itemTransacaoAgrupadoId"=tt.id
inner join transacao_agrupado tta on tta."id"=tt."transacaoAgrupadoId" and tt."statusId"<>'5'
inner join transacao_agrupado tta on tta."id"=tt."transacaoAgrupadoId" and tta."statusId"<>'5'
left join item_transacao itt on itt."itemTransacaoAgrupadoId" = tt."id"
left join arquivo_publicacao app on app."itemTransacaoId"=itt.id
WHERE `;
Expand All @@ -165,7 +165,7 @@ export class RelatorioSinteticoRepository {
(select distinct dta.id,dta."valorLancamento"
from detalhe_a dta
inner join item_transacao_agrupado tt on dta."itemTransacaoAgrupadoId"=tt.id
inner join transacao_agrupado tta on tta."id"=tt."transacaoAgrupadoId" and tt."statusId"<>'5'
inner join transacao_agrupado tta on tta."id"=tt."transacaoAgrupadoId" and tta."statusId"<>'5'
left join item_transacao itt on itt."itemTransacaoAgrupadoId" = tt."id"
left join arquivo_publicacao app on app."itemTransacaoId"=itt.id
WHERE `;
Expand Down

0 comments on commit 3c23047

Please sign in to comment.