This commit is contained in:
@@ -49,9 +49,8 @@ class WarehouseRepository extends ServiceEntityRepository
|
||||
public function findByWarehouseByName($value): array
|
||||
{
|
||||
return $this->createQueryBuilder('w')
|
||||
->andWhere('w.name = :val')
|
||||
->andWhere('w.name in (:val)')
|
||||
->setParameter('val', $value)
|
||||
->orderBy('w.id', 'ASC')
|
||||
->getQuery()
|
||||
->getResult();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user