更新
This commit is contained in:
parent
3a853c095a
commit
1f755a0a1b
@ -80,7 +80,11 @@ 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);
|
||||
if(isset($data['type']) &&$data['type']=='copied_list'){
|
||||
$taskModel = $taskModel->whereFindInSet('t.copied_list', 1);
|
||||
}else{
|
||||
$taskModel = $taskModel->leftJoin('task_member tm', 't.code = tm.task_code')->where('tm.member_code', $member_code)->where('tm.is_executor', 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
// if ($executor) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user