Correção de data no parâmetro do relatório

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@71780 d1611594-4594-4d17-8e1d-87c2c4800839
master
alexandre.lima 2017-07-24 12:25:56 +00:00
parent 3597c67db8
commit 4c113d53af
1 changed files with 2 additions and 2 deletions

View File

@ -42,11 +42,11 @@ public class RelatorioFormaPagamentoAgencia extends RelatorioDemandas {
where.append(" WHERE 1 = 1 "); where.append(" WHERE 1 = 1 ");
if (dataIncial != null) { if (dataIncial != null) {
where.append(" AND c.fechorventa >= '" + format.format(dataIncial) + "' "); where.append(" AND c.fechorventa >= to_date('" + format.format(dataIncial) + "','dd/MM/yyyy') ");
} }
if (dataFinal != null) { if (dataFinal != null) {
where.append(" AND c.fechorventa <= '" + format.format(dataFinal) + "' "); where.append(" AND c.fechorventa <= to_date('" + format.format(dataFinal) + "','dd/MM/yyyy') ");
} }
if (empresa != null) { if (empresa != null) {