diff --git a/pom.xml b/pom.xml index 4c31b92c1..459802a55 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - 1.0.25 + 1.0.26 1.0.18 1.0.8 diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioIndiceIRK.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioIndiceIRK.java index 003d0216f..e93c394d8 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioIndiceIRK.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioIndiceIRK.java @@ -137,7 +137,7 @@ public class RelatorioIndiceIRK extends Relatorio { sb.append(" SUM(pedagio) AS pedagio,"); sb.append(" SUM(passagens) AS passagens,"); sb.append(" SUM(totalhorario) AS totalhorario,"); - sb.append(" sum(irk) AS irk,"); + sb.append(" round(((SUM(passagens) + SUM(pedagio) + SUM(txembarque) + SUM(seguro)) / sum(extensao)), 2) AS irk, "); sb.append(" sum(receitaminima) AS receitaminima,"); sb.append(" sum(diferencareceita) AS diferencareceita,"); sb.append(" prefixo ");