Commit 92ab2d341aeb0f646371751049290c2808f85937
1 parent
f1165d31
Exists in
master
and in
1 other branch
feito innerjoin com a classe PropriedadeSoftware
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/Cacic/CommonBundle/Entity/SoftwareRepository.php
... | ... | @@ -215,6 +215,7 @@ class SoftwareRepository extends EntityRepository |
215 | 215 | // Monta a Consulta básica... |
216 | 216 | $qb = $this->createQueryBuilder('sw'); |
217 | 217 | $qb->select('sw', 'tpsw', 'se') |
218 | + ->innerJoin('CacicCommonBundle:PropriedadeSoftware', 'prop', 'WITH', 'sw.idSoftware = prop.software') | |
218 | 219 | ->leftJoin('sw.idTipoSoftware', 'tpsw') |
219 | 220 | ->leftJoin('sw.estacoes', 'se') |
220 | 221 | ->groupBy('sw', 'tpsw.idTipoSoftware', 'tpsw.teDescricaoTipoSoftware', 'se') | ... | ... |