main
Jing Li 2024-04-20 17:45:26 +08:00
parent f5442d9729
commit cecce29485
1 changed files with 0 additions and 8 deletions

View File

@ -127,14 +127,6 @@ class TaskService extends BaseService
// 结束时间
$endAt = $startAt->copy()->endOfMonth();
$task = new Task([
'plan_id' => $plan->id,
'name' => '清洁卫生',
'start_at' => $startAt,
'end_at' => $endAt,
'task_status' => TaskStatus::Pending,
]);
$taskable->task()->create([
'plan_id' => $plan->id,
'name' => '清洁卫生',