fixes bug#14442

fixes bug#14677

dev:lucas

qua: 

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@95164 d1611594-4594-4d17-8e1d-87c2c4800839
master
lucas.taia 2019-06-28 02:26:25 +00:00
parent fbb97e74f5
commit aded2b24b6
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class RelatorioBilhetesVendidosNovoLayout extends Relatorio {
sql.append(" and ei.estado_id = est.estado_id");
sql.append(" where ");
sql.append(" c.empresacorrida_id = :EMPRESA_ID ");
sql.append(" and c.fechorventa between :DATA_INICIAL AND :DATA_FINAL ");
sql.append(" and c.FECHORVENTA >= :DATA_INICIAL and c.FECHORVENTA <= :DATA_FINAL ");
sql.append(" and c.activo = 1");
sql.append(" and ei.activo = 1");
if (parametros.get("NUMPUNTOVENTA") != null && !parametros.get("NUMPUNTOVENTA").equals("-1")) {