From 60dd4be97e7434a88dd0ab0ac046e9798505d7ba Mon Sep 17 00:00:00 2001 From: vilson <545522390@qq.com> Date: Mon, 1 Jul 2019 15:19:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=BB=E5=8A=A1=E6=B5=81?= =?UTF-8?q?=E8=BD=AC=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: vilson <545522390@qq.com> --- application/project/behavior/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/project/behavior/Task.php b/application/project/behavior/Task.php index 00ad6fb..03fdc2c 100644 --- a/application/project/behavior/Task.php +++ b/application/project/behavior/Task.php @@ -185,7 +185,7 @@ class Task } ProjectLog::create($logData); //工作流事件 - if (!$isRobot) { + if (!$isRobot && !$task['pcode']) {//子任务不触发 $workflowActions = ['create', 'move', 'done', 'redo', 'assign', 'setEndTime', 'pri']; if (in_array($data['type'], $workflowActions)) { $taskStageCode = $task['stage_code'];