linking demandes
This commit is contained in:
parent
0aa050b38b
commit
7f79ec3a9f
6 changed files with 190 additions and 10 deletions
|
@ -107,6 +107,7 @@ class LinkDemandesPlacesCommand extends Command
|
|||
|
||||
if (!$dryRun) {
|
||||
$demande->setPlace($bestMatch);
|
||||
$demande->setPlaceUuid($bestMatch->getUuidForUrl());
|
||||
$demande->setStatus('linked_to_place');
|
||||
$this->entityManager->persist($demande);
|
||||
$linkedCount++;
|
||||
|
@ -199,4 +200,4 @@ class LinkDemandesPlacesCommand extends Command
|
|||
{
|
||||
return str_replace(['%', '_'], ['\%', '\_'], $str);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue