浏览代码

Modification PointSaleRepository

feature/export_comptable
Guillaume 4 年前
父节点
当前提交
913bb64380
共有 1 个文件被更改,包括 0 次插入11 次删除
  1. +0
    -11
      ShopBundle/Repository/PointSaleRepository.php

+ 0
- 11
ShopBundle/Repository/PointSaleRepository.php 查看文件

@@ -19,17 +19,6 @@ class PointSaleRepository extends BaseRepository implements DefaultRepositoryInt
return PointSaleInterface::class;
}

public function findAllPublics()
{
return $this->createQueryBuilder('e')
->where(':currentMerchant MEMBER OF e.merchants')
->andWhere('e.isPublic = 1')
->andWhere('e.status = 1')
->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent())
->getQuery()
->getResult() ;
}

public function findAllByMerchant()
{
return $this->createQueryBuilder('e')

正在加载...
取消
保存