This commit is contained in:
mkm 2024-01-13 09:21:54 +08:00
parent e6336d9c6e
commit 5c91fef393

View File

@ -81,7 +81,7 @@ class TaskStages extends CommonModel
$taskModel = $taskModel->where('t.create_by',$member_code);
}else{
if(isset($data['type']) &&$data['type']=='copied_list'){
$taskModel = $taskModel->whereFindInSet('t.copied_list', 1);
$taskModel = $taskModel->whereFindInSet('t.copied_list', $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);
}