diff --git a/application/common/Model/TaskStages.php b/application/common/Model/TaskStages.php index 073898a..9b1c3a4 100755 --- a/application/common/Model/TaskStages.php +++ b/application/common/Model/TaskStages.php @@ -80,8 +80,7 @@ class TaskStages extends CommonModel 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) - ->whereOr('t.create_by', $member_code); + $taskModel = $taskModel->leftJoin('task_member tm', 't.code = tm.task_code')->where('tm.member_code', $member_code)->where('tm.is_executor', 1); } } // if ($executor) {