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-87c2c4800839master
parent
3597c67db8
commit
4c113d53af
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue