diff --git a/src/flash/flash.module.ts b/src/flash/flash.module.ts index 4ccb99f..491ffcb 100644 --- a/src/flash/flash.module.ts +++ b/src/flash/flash.module.ts @@ -95,7 +95,7 @@ inner join mboard.tb_empresa_segmento tes and tes.codcanal = tvf.codcanal where 1=1 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) order by grouping(canalapp) desc, grouping(nomeempresaapp) desc` };