fix(flash): parâmetro de data da venda deve ser uma string

This commit is contained in:
tkinaba
2026-02-19 15:48:15 -03:00
parent a3cdea03b2
commit b717f89fa8
+1 -1
View File
@@ -95,7 +95,7 @@ inner join mboard.tb_empresa_segmento tes
and tes.codcanal = tvf.codcanal and tes.codcanal = tvf.codcanal
where 1=1 where 1=1
and tvf.vlrvendaacumulada > 0 and tvf.vlrvendaacumulada > 0
and tvf.dtavda = ${args.data_venda} and tvf.dtavda = TO_DATE(${args.data_venda}, 'YYYY-MM-DD')
group by rollup(canalapp, nomeempresaapp) group by rollup(canalapp, nomeempresaapp)
order by grouping(canalapp) desc, grouping(nomeempresaapp) desc` order by grouping(canalapp) desc, grouping(nomeempresaapp) desc`
}; };