* Modify getUserSuspendTasks.

This commit is contained in:
liumengyi
2022-02-18 15:52:25 +08:00
parent ef212d58f7
commit fe8f6bb4dd
+1 -1
View File
@@ -2267,7 +2267,7 @@ class taskModel extends model
->from(TABLE_TASK)->alias('t1')
->leftJoin(TABLE_EXECUTION)->alias('t2')->on("t1.execution = t2.id")
->leftJoin(TABLE_PROJECT)->alias('t3')->on("t1.project = t3.id")
->where('t1.assignedTo')->eq($this->app->user->account)
->where('t1.assignedTo')->eq($account)
->andWhere('(t2.status')->eq('suspended')
->orWhere('t3.status')->eq('suspended')
->markRight(1)