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-87c2c4800839master
parent
3feb93dc42
commit
e97f2ba8dd
|
@ -101,12 +101,11 @@ public abstract class RelatorioAgenciaFechamento extends Relatorio {
|
||||||
boolean isDiario = TipoRelatorioFechamentoEnum.DIARIO.equals(tipoRelatorio);
|
boolean isDiario = TipoRelatorioFechamentoEnum.DIARIO.equals(tipoRelatorio);
|
||||||
NamedParameterStatement stmt = new NamedParameterStatement(getConexao(), criarQueryBilhetesVenda(puntoVenta, empresa));
|
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);
|
ResultSet rset1 = criaResultSet(fecInicio, fecFinal, sdf, stmt);
|
||||||
String dataInicial = fecInicio;
|
String dataInicial = fecInicio;
|
||||||
String dataFinal = fecFinal;
|
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();
|
StringBuilder puntoVentaIds = new StringBuilder();
|
||||||
puntoVentaIds.append(" 0");
|
puntoVentaIds.append(" 0");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue