|
|
|
|
|
|
|
|
$qb->innerJoin('e.productFamily', 'productFamily'); |
|
|
$qb->innerJoin('e.productFamily', 'productFamily'); |
|
|
$qb->addSelect('productFamily'); |
|
|
$qb->addSelect('productFamily'); |
|
|
$qb->where('productFamily.merchant = :currentMerchant'); |
|
|
$qb->where('productFamily.merchant = :currentMerchant'); |
|
|
|
|
|
$qb->andWhere('productFamily.status = 1'); |
|
|
$qb->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent()->getId()); |
|
|
$qb->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent()->getId()); |
|
|
|
|
|
|
|
|
$qb->andWhere( |
|
|
$qb->andWhere( |