fixes bug#23735
qua: dev: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@109800 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
7ffa6bcc43
commit
50d015f266
|
@ -318,7 +318,7 @@ public abstract class RelatorioAgenciaFechamento extends Relatorio {
|
|||
sql.append(" AND cd.TURNO_ID IS NOT NULL ");
|
||||
sql.append(" AND cd.FECCORTE BETWEEN :de AND :ate ");
|
||||
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")) {
|
||||
sql.append(" AND ee.EMPRESA_ID = " + empresa + " ");
|
||||
|
|
Loading…
Reference in New Issue