升级php版本后错误修复
This commit is contained in:
@@ -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');
|
||||
//搜索就诊人姓名
|
||||
|
||||
Reference in New Issue
Block a user