From c1642ca43a7d53b8e9e155be5558293b4dd594e0 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Thu, 15 Sep 2022 10:33:29 +0800 Subject: [PATCH] * Fix task error. --- module/task/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/model.php b/module/task/model.php index 66317937d1..301f650360 100755 --- a/module/task/model.php +++ b/module/task/model.php @@ -2454,7 +2454,7 @@ class taskModel extends model ->beginIF($type == 'assignedtome')->andWhere("(t1.assignedTo = '{$this->app->user->account}' or (t1.mode = 'multi' and t4.`account` = '{$this->app->user->account}') )")->fi() ->beginIF($type == 'finishedbyme') ->andWhere('t1.finishedby', 1)->eq($this->app->user->account) - ->orWhere('t5.status')->eq("done") + ->orWhere('t4.status')->eq("done") ->markRight(1) ->fi() ->beginIF($type == 'delayed')->andWhere('t1.deadline')->gt('1970-1-1')->andWhere('t1.deadline')->lt(date(DT_DATE1))->andWhere('t1.status')->in('wait,doing')->fi()