diff --git a/pom.xml b/pom.xml index 296699dd2..a9094e188 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores ventaboletosadm - 1.25.0 + 1.25.1 war diff --git a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendaEmbarcada.java b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendaEmbarcada.java index cf0ae8f64..804b778ae 100644 --- a/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendaEmbarcada.java +++ b/src/java/com/rjconsultores/ventaboletos/relatorios/impl/RelatorioVendaEmbarcada.java @@ -253,9 +253,9 @@ public class RelatorioVendaEmbarcada extends Relatorio { sql.append(" and bp.codstat in (-1, 100, 102, 150) "); } if (vendaEmbarcada == FiltroEnviadosSefaz.SIM) { - sql.append(" and b.IMEI_DISPOSITIVO_EMBARCADA is not null "); + sql.append(" and b.tipoventa_id in (99) "); } else if (envioSefaz == FiltroEnviadosSefaz.NAO) { - sql.append(" and b.IMEI_DISPOSITIVO_EMBARCADA is null "); + sql.append(" and b.tipoventa_id not in (99) "); } if (quebraSequencia){ sql.append("union ");