This commit is contained in:
chenbo 2024-02-27 09:31:46 +08:00
parent 4a60a2b390
commit df31327afc

View File

@ -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'],