From 033d5dd36f7f56df1c9ea9eaf6e0efe7cfb7019d Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Tue, 19 Sep 2023 15:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=95=87=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=85=AC=E5=8F=B8=E4=BB=BB=E5=8A=A1=E5=AE=89=E6=8E=92=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/task_scheduling/TaskScheduling.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/model/task_scheduling/TaskScheduling.php b/app/common/model/task_scheduling/TaskScheduling.php index 6b5a83877..7f2517c76 100644 --- a/app/common/model/task_scheduling/TaskScheduling.php +++ b/app/common/model/task_scheduling/TaskScheduling.php @@ -39,7 +39,7 @@ class TaskScheduling extends BaseModel } public function companyType() { - return $this->hasOne(DictData::class, 'id', 'company_type')->bind(['company_type_name'=>'name']); + return $this->hasOne(DictData::class, 'id', 'company_type')->bind(['dict_company_type'=>'id', 'company_type_name'=>'name']); } public function template() {