From 66f2ca444404931b0c3ef59286d389e53d543a87 Mon Sep 17 00:00:00 2001 From: "daniel.zauli" Date: Thu, 27 Feb 2020 21:09:02 +0000 Subject: [PATCH] =?UTF-8?q?0018274:=20Rode=20Rotas=20-=20(GLPI=20-=2022461?= =?UTF-8?q?)=20Importa=C3=A7=C3=A3o=20Receitas/Despesas=20fixes=20bug#0018?= =?UTF-8?q?274=20dev:Fabio=20qua:evidencia=20anexa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/Integracion/IntegracaoReceitaDespesa/trunk/IntegracaoReceitaDespesa@100370 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/com/rjconsultores/integracaoreceitadespesa/dao/Totalbus.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/rjconsultores/integracaoreceitadespesa/dao/Totalbus.java b/src/com/rjconsultores/integracaoreceitadespesa/dao/Totalbus.java index 1383ca7bb..fb41c7e9f 100644 --- a/src/com/rjconsultores/integracaoreceitadespesa/dao/Totalbus.java +++ b/src/com/rjconsultores/integracaoreceitadespesa/dao/Totalbus.java @@ -451,6 +451,7 @@ public class Totalbus { adicionaFiltroQuery(puntoventaId, sb, " and cd.puntoventa_id = ", puntoventaId != null && !puntoventaId.equals(-1)); adicionaFiltroQuery(empresaId, sb, " and e.empresa_id = ", empresaId != null); sb.append(" and cd.activo = 1 "); + sb.append(" AND cdp.formapago_id not IN (2,3) "); sb.append(" and not exists (select ee.EVENTOEXTRA_ID from evento_extra ee where ev.EVENTOEXTRA_ID = ee.EVENTOEXTRACANC_ID) "); sb.append(" and ev.EVENTOEXTRACANC_ID is null ");