This commit is contained in:
mkm 2024-01-12 16:49:36 +08:00
parent e55fe9232c
commit 284d13e478

View File

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