优化任务流转逻辑
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
48528000b6
commit
60dd4be97e
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user