From e97f2ba8dd8dabc4da15ecad15ae9c4b48337473 Mon Sep 17 00:00:00 2001 From: celio Date: Fri, 18 Mar 2022 18:22:09 +0000 Subject: [PATCH] fixes bug#24233 dev: Aristides qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@111393 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../relatorios/impl/RelatorioAgenciaFechamento.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioAgenciaFechamento.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioAgenciaFechamento.java index 280cb685a..c26308ec5 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioAgenciaFechamento.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioAgenciaFechamento.java @@ -101,12 +101,11 @@ public abstract class RelatorioAgenciaFechamento extends Relatorio { boolean isDiario = TipoRelatorioFechamentoEnum.DIARIO.equals(tipoRelatorio); NamedParameterStatement stmt = new NamedParameterStatement(getConexao(), criarQueryBilhetesVenda(puntoVenta, empresa)); - SimpleDateFormat sdf = (isDiario ? new SimpleDateFormat("yyyy-MM-dd hh:mm:ss") : new SimpleDateFormat("dd/MM/yyyy hh:mm:ss") ); - + SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy hh:mm:ss"); ResultSet rset1 = criaResultSet(fecInicio, fecFinal, sdf, stmt); String dataInicial = fecInicio; String dataFinal = fecFinal; - + sdf = (isDiario ? new SimpleDateFormat("yyyy-MM-dd hh:mm:ss") : new SimpleDateFormat("dd/MM/yyyy hh:mm:ss")); StringBuilder puntoVentaIds = new StringBuilder(); puntoVentaIds.append(" 0");