修复就诊人健康信息默认值
This commit is contained in:
@@ -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
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user