fix flash companies modules filter
davinTI/app-dono-modulos/pipeline/head This commit looks good

This commit is contained in:
2026-04-01 16:51:08 -03:00
parent bbc52c8cd1
commit 137ebdece2
+1 -1
View File
@@ -99,7 +99,7 @@ inner join mboard.tb_empresa_segmento tes
where 1=1
and tvf.vlrvendaacumulada > 0
and tvf.dtavda = TO_DATE(${args.data_venda}, 'YYYY-MM-DD')
and (tvf.nroempresa in (${args.ctx_user_companies}))
and (tvf.nroempresa in (${args.ctx_user_companies_for_module}))
group by rollup(canalapp, nomeempresaapp)
order by grouping(canalapp) desc, grouping(nomeempresaapp) desc`,
};