From 7213ab4ed377874259d7699fc5f3058c049418ff Mon Sep 17 00:00:00 2001 From: lq Date: Fri, 15 Nov 2024 09:25:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=B1=E8=AF=8A=E4=BA=BA?= =?UTF-8?q?=E5=81=A5=E5=BA=B7=E4=BF=A1=E6=81=AF=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/models/UserPatient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/models/UserPatient.php b/common/models/UserPatient.php index dfbd9e1..0001e31 100644 --- a/common/models/UserPatient.php +++ b/common/models/UserPatient.php @@ -22,7 +22,7 @@ class UserPatient extends \common\modelsgii\UserPatient //就诊人问诊健康信息 public function getHealthInquiry() { - return $this->hasOne(UserPatientHealthInquiry::className(),['up_id'=>'id'])->andWhere([ + return $this->hasOne(UserPatientHealthInquiry::className(),['user_patient_id'=>'id'])->andWhere([ 'is_delete' => 0 ]); }