From 92ab2d341aeb0f646371751049290c2808f85937 Mon Sep 17 00:00:00 2001 From: Bruno Menezes Date: Thu, 17 Apr 2014 10:49:45 -0300 Subject: [PATCH] feito innerjoin com a classe PropriedadeSoftware --- src/Cacic/CommonBundle/Entity/SoftwareRepository.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/Cacic/CommonBundle/Entity/SoftwareRepository.php b/src/Cacic/CommonBundle/Entity/SoftwareRepository.php index e394898..c76e52a 100644 --- a/src/Cacic/CommonBundle/Entity/SoftwareRepository.php +++ b/src/Cacic/CommonBundle/Entity/SoftwareRepository.php @@ -215,6 +215,7 @@ class SoftwareRepository extends EntityRepository // Monta a Consulta básica... $qb = $this->createQueryBuilder('sw'); $qb->select('sw', 'tpsw', 'se') + ->innerJoin('CacicCommonBundle:PropriedadeSoftware', 'prop', 'WITH', 'sw.idSoftware = prop.software') ->leftJoin('sw.idTipoSoftware', 'tpsw') ->leftJoin('sw.estacoes', 'se') ->groupBy('sw', 'tpsw.idTipoSoftware', 'tpsw.teDescricaoTipoSoftware', 'se') -- libgit2 0.21.2