* Finish task #37096.

This commit is contained in:
holan20180123
2021-03-30 15:36:25 +08:00
parent 82142502e6
commit 2c1d41da05
+2 -1
View File
@@ -2235,7 +2235,8 @@ class executionModel extends model
->leftJoin(TABLE_EXECUTION)->alias('t2')->on('t1.root = t2.id')
->where('t1.account')->eq($account)
->andWhere('t1.root')->ne($currentExecution)
->andWhere('t1.type')->eq($execution->type)
->andWhere('t1.type')->eq('execution')
->andWhere('t2.project')->eq($execution->project)
->andWhere('t2.deleted')->eq('0')
->groupBy('t1.root')
->orderBy('t1.root DESC')