Loading module/Mission/src/Service/MissionService.php +2 Changes for module/Mission/src/Service/MissionService.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -179,6 +179,7 @@ class MissionService extends AbstractEntityService AND m.intervenant_id = :intervenant AND vhm.horaire_debut IS NOT NULL AND vhm.horaire_fin IS NOT NULL AND vhm.id <> :id AND NOT( :horaireDebut >= to_char(vhm.horaire_fin, 'YYYY-mm-dd HH24:MI') OR :horaireFin <= to_char(vhm.horaire_debut, 'YYYY-mm-dd HH24:MI') )"; Loading @@ -187,6 +188,7 @@ class MissionService extends AbstractEntityService 'intervenant' => $vhm->getMission()->getIntervenant()->getId(), 'horaireDebut' => $vhm->getHoraireDebut()->format('Y-m-d H:i'), 'horaireFin' => $vhm->getHoraireFin()->format('Y-m-d H:i'), 'id' => $vhm->getId() ?? 0, ]; $r = $this->entityManager->getConnection()->fetchAssociative($sql, $params); Loading Loading
module/Mission/src/Service/MissionService.php +2 Changes for module/Mission/src/Service/MissionService.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -179,6 +179,7 @@ class MissionService extends AbstractEntityService AND m.intervenant_id = :intervenant AND vhm.horaire_debut IS NOT NULL AND vhm.horaire_fin IS NOT NULL AND vhm.id <> :id AND NOT( :horaireDebut >= to_char(vhm.horaire_fin, 'YYYY-mm-dd HH24:MI') OR :horaireFin <= to_char(vhm.horaire_debut, 'YYYY-mm-dd HH24:MI') )"; Loading @@ -187,6 +188,7 @@ class MissionService extends AbstractEntityService 'intervenant' => $vhm->getMission()->getIntervenant()->getId(), 'horaireDebut' => $vhm->getHoraireDebut()->format('Y-m-d H:i'), 'horaireFin' => $vhm->getHoraireFin()->format('Y-m-d H:i'), 'id' => $vhm->getId() ?? 0, ]; $r = $this->entityManager->getConnection()->fetchAssociative($sql, $params); Loading