fixes bug#23735

qua:
dev:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@109800 d1611594-4594-4d17-8e1d-87c2c4800839
master
aristides 2021-11-29 22:11:54 +00:00
parent 7ffa6bcc43
commit 50d015f266
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ public abstract class RelatorioAgenciaFechamento extends Relatorio {
sql.append(" AND cd.TURNO_ID IS NOT NULL "); sql.append(" AND cd.TURNO_ID IS NOT NULL ");
sql.append(" AND cd.FECCORTE BETWEEN :de AND :ate "); sql.append(" AND cd.FECCORTE BETWEEN :de AND :ate ");
sql.append(" AND cd.puntoventa_id = pv.puntoventa_id "); sql.append(" AND cd.puntoventa_id = pv.puntoventa_id ");
sql.append(" AND pv.puntoventa_id not in ( " + puntoVentaIds.toString() + ") "); sql.append(" AND pv.puntoventa_id in ( " + puntoVentaIds.toString() + ") ");
if (empresa != null && !empresa.equals("") && !empresa.equals("-1")) { if (empresa != null && !empresa.equals("") && !empresa.equals("-1")) {
sql.append(" AND ee.EMPRESA_ID = " + empresa + " "); sql.append(" AND ee.EMPRESA_ID = " + empresa + " ");