From ea50235f98cced01021f4875729a1c02eb4afa59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=8F=E9=A9=AC?= <179906767@qq.com> Date: Tue, 14 Sep 2021 13:46:37 +0000 Subject: [PATCH] =?UTF-8?q?SingFlow.php=E4=BF=AE=E5=A4=8DBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/service/command/SingFlow.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service/command/SingFlow.php b/src/service/command/SingFlow.php index dbcae2b..230f2e8 100644 --- a/src/service/command/SingFlow.php +++ b/src/service/command/SingFlow.php @@ -99,12 +99,12 @@ class SingFlow return ['msg' => '流程步骤操作记录失败,数据库错误!!!', 'code' => '-1']; } Log::AddrunLog($uid, $config['run_id'], $config, 'SingBack'); - Run::EditRun($config['run_id'], ['is_sing' => 0, 'status' => 0]); + Run::EditRun($config['run_id'], ['is_sing' => 0, 'status' => 1]); //日志记录 } else { //结束流程 $wf_process = Process::GetProcessInfo($wf_backflow); Info::addWorkflowProcess($config['flow_id'], $wf_process, $config['run_id'], $uid); - Run::EditRun($config['run_id'], ['is_sing' => 0]); + Run::EditRun($config['run_id'], ['is_sing' => 0,'run_flow_process'=>$config['wf_backflow']]); //消息通知发起人 $run_log = Log::AddrunLog($uid, $config['run_id'], $config, 'SingBack'); if (!$run_log) { -- Gitee