fixes bug#24650
qua: dev: Evidencia em anexa do PDF git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@113589 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
4357676bc1
commit
cf9347109b
|
@ -119,7 +119,7 @@ public class RelatorioSegundaViaSeguroOpcional extends Relatorio {
|
||||||
sql.append("INNER JOIN SEGPOLV SEG ON (SEG.BOLETO_ID = B.BOLETO_ID) ");
|
sql.append("INNER JOIN SEGPOLV SEG ON (SEG.BOLETO_ID = B.BOLETO_ID) ");
|
||||||
|
|
||||||
|
|
||||||
sql.append("WHERE EE.INDSEGUNDAVIAIMPRESSA = 1 AND B.MOTIVOREIMPRESION_ID = 99 ");
|
sql.append("WHERE EE.INDSEGUNDAVIAIMPRESSA = 1 ");
|
||||||
if (dataInicial != null && dataFinal != null) {
|
if (dataInicial != null && dataFinal != null) {
|
||||||
sql.append(" AND EE.FECSEGUNDAVIA BETWEEN :dataInicial and :dataFinal ");
|
sql.append(" AND EE.FECSEGUNDAVIA BETWEEN :dataInicial and :dataFinal ");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue