From 2f0fb26c7d640101c9dc52d231c3112fa9f21efd Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 10 Jan 2024 11:58:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/Model/Task.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/common/Model/Task.php b/application/common/Model/Task.php index d8b6327..9b5ddd1 100755 --- a/application/common/Model/Task.php +++ b/application/common/Model/Task.php @@ -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');