mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Merge branch '_31_interface_creation_parcours' of gitlab.com:Chill-Projet/chill-bundles into _31_interface_creation_parcours
This commit is contained in:
commit
e8bf242c42
@ -56,14 +56,13 @@ class LoadAccompanyingPeriod extends AbstractFixture implements OrderedFixtureIn
|
||||
$centerAId = $centerA->getId();
|
||||
|
||||
$personIds = $this->container->get('doctrine.orm.entity_manager')
|
||||
->createQuery(
|
||||
'
|
||||
SELECT person.id
|
||||
FROM ChillPersonBundle:Person person
|
||||
WHERE person.center = ' . $centerAId . '
|
||||
ORDER BY person.id
|
||||
'
|
||||
)
|
||||
->createQueryBuilder()
|
||||
->select('p.id')
|
||||
->from('ChillPersonBundle:Person', 'p')
|
||||
->where('p.center = :centerAId')
|
||||
->orderBy('p.id', 'ASC')
|
||||
->setParameter('centerAId', $centerAId)
|
||||
->getQuery()
|
||||
->getScalarResult();
|
||||
|
||||
$openingDate = new \DateTime('2020-04-01');
|
||||
|
Loading…
x
Reference in New Issue
Block a user