From df31327afc857074048f7f2faf18754594b4fdee Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Tue, 27 Feb 2024 09:31:46 +0800 Subject: [PATCH] update --- app/adminapi/logic/task/TaskAllocationLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/adminapi/logic/task/TaskAllocationLogic.php b/app/adminapi/logic/task/TaskAllocationLogic.php index 2a4ce9775..baa195e29 100644 --- a/app/adminapi/logic/task/TaskAllocationLogic.php +++ b/app/adminapi/logic/task/TaskAllocationLogic.php @@ -51,8 +51,8 @@ class TaskAllocationLogic extends BaseLogic try { // 任务分配 $taskAllocation = TaskAllocation::create([ - 'dataid' => generate_sn(self::class, 'dataid'), - 'num' => generate_sn(self::class, 'num'), + 'dataid' => generate_sn(TaskAllocation::class, 'dataid'), + 'num' => generate_sn(TaskAllocation::class, 'num'), 'task_type_id' => $taskType['id'], // 任务类别id 'cost_project_id' => $taskType['cost_project_id'], // 项目id 'apptime' => $params['apptime'],