diff --git a/pom.xml b/pom.xml index 2a9ce9b16..0a2b2d103 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores ventaboletosadm - 1.61.0 + 1.61.1 war diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioResumoLinhasAnalitico.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioResumoLinhasAnalitico.java index 46860bfad..a1675c010 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioResumoLinhasAnalitico.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioResumoLinhasAnalitico.java @@ -109,6 +109,7 @@ public class RelatorioResumoLinhasAnalitico extends Relatorio { relatorioBean.setTARIFA(rset.getBigDecimal("TARIFA")); relatorioBean.setEQ(rset.getBigDecimal("EQ")); relatorioBean.setIAP(rset.getBigDecimal("IAP")); + relatorioBean.setASSENTOS(rset.getBigDecimal("ASSENTOS")); setDadosRelatorio.add(relatorioBean); } @@ -164,7 +165,7 @@ public class RelatorioResumoLinhasAnalitico extends Relatorio { sqlSb.append(" (SELECT SUM(NVL(TR.CANTKMREAL,0)) FROM RUTA_COMBINACION RS, TRAMO TR WHERE RS.RUTA_ID = CO.RUTA_ID AND RS.TRAMO_ID = TR.TRAMO_ID)), 2) EQUIVALENTE "); sqlSb.append(" FROM CORRIDA CO, BOLETO BO "); sqlSb.append(" WHERE CO.CORRIDA_ID = BO.CORRIDA_ID "); - sqlSb.append(" AND CO.FECCORRIDA = BO.FECCORRIDA "); + sqlSb.append(" AND CO.FECCORRIDA 9= BO.FECCORRIDA "); sqlSb.append(" AND BO.ACTIVO = 1 "); sqlSb.append(" AND (BO.MOTIVOCANCELACION_ID IS NULL OR BO.MOTIVOCANCELACION_ID = 0 AND BO.CATEGORIA_ID <> :CRIANCA_ID) "); sqlSb.append(" GROUP BY CO.FECCORRIDA, CO.RUTA_ID, BO.PRECIOBASE, BO.NUMKMVIAJE) PE ");