This commit is contained in:
mkm 2024-01-10 11:58:31 +08:00
parent cd6557424a
commit 2f0fb26c7d

View File

@ -517,7 +517,8 @@ class Task extends CommonModel
$transferred=$task['transferred'];
array_push($transferred,$task['exchange_list'][0]);
$data['transferred']=implode(',',$transferred);
$data['assign_to']=$task['exchange_list'][0];
$executorCode=$task['exchange_list'][0];
TaskMember::inviteMember($executorCode, $taskCode, 1);
self::where('id',$task['id'])->update($data);
}else{
$code= TaskStages::where('project_code',$task['project_code'])->where('name','已完成')->where('deleted',0)->value('code');