From 96e8b32063c32eecb2ee00c90927ea6362ef94c2 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 17 Jan 2024 16:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/Model/TaskStages.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/application/common/Model/TaskStages.php b/application/common/Model/TaskStages.php index f56b0e0..554b7b8 100755 --- a/application/common/Model/TaskStages.php +++ b/application/common/Model/TaskStages.php @@ -89,12 +89,12 @@ class TaskStages extends CommonModel } else { if ($find && $find['is_liaison_man'] == 0) { $joinTaskMember = true; - $type = ProjectAuth::where('id', $find['authorize'])->value('type'); - if ($type == 'admin') { - $taskModel = $taskModel->where('t.create_by', $member_code); - } else { + // $type = ProjectAuth::where('id', $find['authorize'])->value('type'); + // if ($type == 'admin') { + // $taskModel = $taskModel->where('t.create_by', $member_code); + // } else { $taskModel = $taskModel->leftJoin('task_member tm', 't.code = tm.task_code')->where('tm.member_code', $member_code)->where('tm.is_executor', 1); - } + // } } }