|
|
|
|
|
|
|
|
return $this; |
|
|
return $this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function setFilterOnMerchantViaSection(MerchantInterface $merchant): self |
|
|
|
|
|
{ |
|
|
|
|
|
$this->queryBuilderParameters['merchantViaSection'] = $merchant; |
|
|
|
|
|
|
|
|
|
|
|
return $this; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public function setFilterOnDevAlias(string $devAlias): self |
|
|
public function setFilterOnDevAlias(string $devAlias): self |
|
|
{ |
|
|
{ |
|
|
$this->queryBuilderParameters['devAlias'] = $devAlias; |
|
|
$this->queryBuilderParameters['devAlias'] = $devAlias; |
|
|
|
|
|
|
|
|
$qb->andWhereMerchantManyToMany('e', $param['merchantManyToMany']); |
|
|
$qb->andWhereMerchantManyToMany('e', $param['merchantManyToMany']); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (isset($param['merchantViaSection'])) { |
|
|
|
|
|
$qb->leftJoin('e.section', 's'); |
|
|
|
|
|
$qb->andWhereMerchant('s', $param['merchantViaSection']); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (isset($param['status'])) { |
|
|
if (isset($param['status'])) { |
|
|
$qb->andWhere('e.status = :status')->setParameter('status', $param['status']); |
|
|
$qb->andWhere('e.status = :status')->setParameter('status', $param['status']); |
|
|
} |
|
|
} |