From b783f73bd70ae2517a7d370c7c0f51d16ae6a9d9 Mon Sep 17 00:00:00 2001 From: gleimar Date: Thu, 1 Dec 2016 18:51:39 +0000 Subject: [PATCH] fixes bug#8326 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/Integracion/IntegracaoReceitaDespesa/trunk/IntegracaoReceitaDespesa@63084 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../rjconsultores/integracaoreceitadespesa/dao/Totalbus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/rjconsultores/integracaoreceitadespesa/dao/Totalbus.java b/src/com/rjconsultores/integracaoreceitadespesa/dao/Totalbus.java index e2c82b697..e56fbef7f 100644 --- a/src/com/rjconsultores/integracaoreceitadespesa/dao/Totalbus.java +++ b/src/com/rjconsultores/integracaoreceitadespesa/dao/Totalbus.java @@ -325,7 +325,7 @@ public class Totalbus { strFechamentos.append(" join empresa_contabancaria ec on ec.EMPRESACONTABANCARIA_ID = fdep.EMPRESACONTABANCARIA_ID "); strFechamentos.append(" join INSTI_FINANCEIRA if on if.INSTIFINANCEIRA_ID = EC.INSTIFINANCEIRA_ID "); strFechamentos.append(" join EMPRESA e on e.empresa_id = fc.empresa_id "); - strFechamentos.append(" where trunc(fdep.feccreacion) = :fecha and fd.activo = 1 and fc.activo = 1 "); + strFechamentos.append(" where trunc(fdep.feccreacion) = :fecha and fd.activo = 1 and fc.activo = 1 and fdep.activo = 1 "); if (puntoventaId != null && !puntoventaId.equals(-1)){ strFechamentos.append(" and fc.puntoventa_id = " + puntoventaId);