更新
This commit is contained in:
parent
cdf1c8de1f
commit
96e8b32063
@ -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);
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user