This commit is contained in:
mkm 2024-01-17 16:39:41 +08:00
parent cdf1c8de1f
commit 96e8b32063

View File

@ -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);
}
// }
}
}