修复就诊人健康信息默认值

This commit is contained in:
2024-11-15 09:31:54 +08:00
parent 7213ab4ed3
commit e7829d638f

View File

@@ -25,7 +25,7 @@ class PatientController extends BaseAppController
$all = UserPatient::find()->with(['healthInquiry'])->where([
'user_id' => \Yii::$app->user->identity->id,
'is_delete' => 0
])->orderBy('id desc')->all();
])->orderBy('id desc')->asArray()->all();
return $all;
}