diff --git a/app/api/controller/TaskController.php b/app/api/controller/TaskController.php index b165521dd..5491f14db 100644 --- a/app/api/controller/TaskController.php +++ b/app/api/controller/TaskController.php @@ -34,10 +34,11 @@ class TaskController extends BaseApiController $is_captain = User::where('id', $this->userId)->value('is_captain'); if ($is_captain == 1) { $where[] = ['type', 'in', [31,33]]; - } else { - $where[] = ['type', '=', 33]; - $where[] = ['director_uid', '=', $this->userId]; } +// else { +// $where[] = ['type', '=', 33]; +// $where[] = ['director_uid', '=', $this->userId]; +// } // $where[] = ['company_id', '=', $this->userInfo['company_id']]; }