From 4847408e585e6e39651ab3567486e17b71364d4f Mon Sep 17 00:00:00 2001 From: bruce <1272542526@qq.com> Date: Thu, 21 Mar 2024 10:32:08 +0800 Subject: [PATCH] update --- app/common/model/MaintenanceCategory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/model/MaintenanceCategory.php b/app/common/model/MaintenanceCategory.php index fab5b990..a8d750cf 100644 --- a/app/common/model/MaintenanceCategory.php +++ b/app/common/model/MaintenanceCategory.php @@ -53,6 +53,6 @@ class MaintenanceCategory extends BaseModel } public function maintenances() { - return $this->hasMany(MaintenanceCategory::class,'category_id', 'id'); + return $this->hasMany(Maintenance::class,'category_id', 'id'); } }