* [perf] Use fetchByID instead of getByID to improve performance.

This commit is contained in:
liugang
2025-08-06 15:22:14 +08:00
committed by tianshujie
parent d613ec7efa
commit 3e4cb894f4
+1 -1
View File
@@ -982,7 +982,7 @@ class task extends control
*/
public function delete(int $executionID, int $taskID, string $from = '')
{
$task = $this->task->getByID($taskID);
$task = $this->task->fetchByID($taskID);
/* 如果是父任务,先删除所有子任务 */
if($task->isParent)