From d4036b61acb32b01b27de74a6ff250646b927cda Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Thu, 25 Jan 2024 14:07:05 +0300 Subject: [PATCH] dev, Oracle DB fix (3) Signed-off-by: Alexander Piskun --- lib/Db/ExAppMapper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Db/ExAppMapper.php b/lib/Db/ExAppMapper.php index 61f8d9a8..01f510fc 100644 --- a/lib/Db/ExAppMapper.php +++ b/lib/Db/ExAppMapper.php @@ -35,7 +35,7 @@ public function findAll(int $limit = null, int $offset = null): array { 'd.accepts_deploy_id', ) ->from($this->tableName, 'a') - ->leftJoin('a','ex_apps_daemons','d','a.daemon_config_name = d.name') + ->leftJoin('a', 'ex_apps_daemons', 'd', $qb->expr()->eq('a.daemon_config_name', 'd.name')) ->setMaxResults($limit) ->setFirstResult($offset); return $this->findEntities($qb); @@ -60,7 +60,7 @@ public function findByAppId(string $appId): Entity { 'd.accepts_deploy_id', ) ->from($this->tableName, 'a') - ->leftJoin('a','ex_apps_daemons','d','a.daemon_config_name = d.name') + ->leftJoin('a', 'ex_apps_daemons', 'd', $qb->expr()->eq('a.daemon_config_name', 'd.name')) ->where( $qb->expr()->eq('a.appid', $qb->createNamedParameter($appId)) );