diff --git a/pom.xml b/pom.xml index 0091dd1a2..667bb6cdf 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores ventaboletosadm - 1.68.4 + 1.68.5 war diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioEstoque.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioEstoque.java index ac6755bf6..2e0666036 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioEstoque.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioEstoque.java @@ -202,7 +202,7 @@ public class RelatorioEstoque extends Relatorio { StringBuilder sb = new StringBuilder(); - sb.append(" select TB.aidfId as aidfId, "); + sb.append(" select DISTINCT TB.aidfId as aidfId, "); sb.append(" TB.serie as serie, "); sb.append(" TB.folioCaja as folioCaja, "); sb.append(" TB.folioInicial as folioInicial, "); @@ -379,7 +379,6 @@ public class RelatorioEstoque extends Relatorio { sb.append(" ORDER BY TB.aidfId, "); sb.append(" TB.serie, "); sb.append(" TB.folioCaja "); - System.out.println(sb.toString()); return sb.toString();