* fix bug.

This commit is contained in:
wangyidong
2021-03-17 09:21:26 +08:00
parent 32b1b95f24
commit e43b1fd89e
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1733,7 +1733,7 @@ class executionModel extends model
$executions = $this->dao->select('t1.product, t1.project')->from(TABLE_PROJECTPRODUCT)->alias('t1')
->leftJoin(TABLE_EXECUTION)->alias('t2')->on('t1.project=t2.id')
->where('t1.product')->in(array_keys($products))
->andWhere('t2.project')->eq($execution->execution)
->andWhere('t2.project')->eq($execution->project)
->fetchGroup('execution');
$branches = str_replace(',', "','", $branches);