升级php版本后错误修复

This commit is contained in:
2024-12-02 09:15:02 +08:00
parent 1918783026
commit 53d4916005

View File

@@ -43,7 +43,7 @@ class PrescripDetailController extends BaseAppController
]
];
$patient_name = $post['patient_name'];
$patient_name = $post['patient_name']?? '';
$query->joinWith(['userPatient' => function ($q) use ($patient_name) {
$q->alias('up');
//搜索就诊人姓名