From aa7b0bcafbf822ff6639625fa918a7b1fe6a3287 Mon Sep 17 00:00:00 2001 From: hdm Date: Mon, 17 Oct 2022 13:07:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E2=80=9C=E6=9C=AA?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=BB=BB=E5=8A=A1=E2=80=9D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E6=9C=89=E8=AF=AF=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/home/controller/Index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/home/controller/Index.php b/app/home/controller/Index.php index e3c18b1..91b7248 100644 --- a/app/home/controller/Index.php +++ b/app/home/controller/Index.php @@ -225,7 +225,7 @@ class Index extends BaseController 'name' => '任务', 'num' => $taskCount, ); - $handle['task'] = Db::name('ProjectTask')->where([['director_uid', '=', $this->uid],['delete_time', '=', 0]])->count(); + $handle['task'] = Db::name('ProjectTask')->where([['director_uid', '=', $this->uid],['flow_status', '<', 3],['delete_time', '=', 0]])->count(); } if (in_array('article', $module)) { $articleCount = Db::name('Article')->where([['delete_time', '=', 0],['uid', '=', $this->uid]])->count();