Commit 2d618423 authored by Florian Joriot's avatar Florian Joriot
Browse files

retrait de la jointure service

parent f7bc2522
Loading
Loading
Loading
Loading
+1 −2
Changes for module/Contrat/src/Service/TblContratService.php: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -47,9 +47,8 @@ class TblContratService extends AbstractEntityService
    {
        $em = $this->getEntityManager();

        $dql = "SELECT tblc, vhs, s FROM " . TblContrat::class . " tblc ";
        $dql = "SELECT tblc, vhs FROM " . TblContrat::class . " tblc ";
        $dql .= "left join tblc.volumesHoraires vhs WITH vhs.uuid = tblc.uuid ";
        $dql .= "LEFT JOIN vhs.service s ";

        if ($structure != null) {
            $dql .= "LEFT JOIN tblc.structure structure ";