WIP: Implement application process
This commit is contained in:
1 parent
3a458df94f
commit
6910ab6134
34 files changed
+937
-119
No files matched your search
@@ -43,4 +43,20 @@ class AssignmentRepository extends ServiceEntityRepository
|
||||
|
||||
return $qb->getQuery();
|
||||
}
|
||||
|
||||
public function getBookmarkQueryForTeamer(Teamer $teamer): Query
|
||||
{
|
||||
$qb = $this->createQueryBuilder('assignment');
|
||||
|
||||
$qb
|
||||
->select('assignment', 'destination', 'job_profile')
|
||||
->innerJoin('assignment.teamers', 'teamer', 'WITH', 'teamer = :teamer')
|
||||
->innerJoin('assignment.destination', 'destination')
|
||||
->innerJoin('assignment.jobProfile', 'job_profile')
|
||||
->leftJoin('assignment.applications', 'application')
|
||||
->setParameter('teamer', $teamer)
|
||||
;
|
||||
|
||||
return $qb->getQuery();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user