fixes bug#8326
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/Integracion/IntegracaoReceitaDespesa/trunk/IntegracaoReceitaDespesa@63084 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
219507fbfc
commit
b783f73bd7
|
@ -325,7 +325,7 @@ public class Totalbus {
|
||||||
strFechamentos.append(" join empresa_contabancaria ec on ec.EMPRESACONTABANCARIA_ID = fdep.EMPRESACONTABANCARIA_ID ");
|
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 INSTI_FINANCEIRA if on if.INSTIFINANCEIRA_ID = EC.INSTIFINANCEIRA_ID ");
|
||||||
strFechamentos.append(" join EMPRESA e on e.empresa_id = fc.empresa_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)){
|
if (puntoventaId != null && !puntoventaId.equals(-1)){
|
||||||
strFechamentos.append(" and fc.puntoventa_id = " + puntoventaId);
|
strFechamentos.append(" and fc.puntoventa_id = " + puntoventaId);
|
||||||
|
|
Loading…
Reference in New Issue