From 284d13e478c1df0df23a245e6bf46e8b1665c072 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 12 Jan 2024 16:49:36 +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 654ce57..f384e71 100755 --- a/application/common/Model/Task.php +++ b/application/common/Model/Task.php @@ -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');