|
|
@@ -195,11 +195,11 @@ class OrderShopRepository extends BaseRepository implements DefaultRepositoryInt |
|
|
|
} |
|
|
|
|
|
|
|
if($deliveryAvailabilityPointSale) { |
|
|
|
$query->andWhere('e.deliveryAvailabilityZone = :deliveryAvailabilityZone'); |
|
|
|
$query->setParameter('deliveryAvailabilityZone', $deliveryAvailabilityPointSale); |
|
|
|
$query->andWhere('e.deliveryAvailabilityPointSale = :deliveryAvailabilityPointSale'); |
|
|
|
$query->setParameter('deliveryAvailabilityPointSale', $deliveryAvailabilityPointSale); |
|
|
|
} |
|
|
|
|
|
|
|
}else{ |
|
|
|
} |
|
|
|
else{ |
|
|
|
$query->leftJoin('e.deliveryAvailabilityZone', 'deliveryAvailabilityZone'); |
|
|
|
$query->leftJoin('deliveryAvailabilityZone.deliverySlot', 'deliverySlotZone'); |
|
|
|
|