字段错误修复
This commit is contained in:
@@ -42,9 +42,9 @@ class RegisterController extends BaseAdminController
|
||||
])->orderBy(['r.id' => SORT_DESC]);
|
||||
}
|
||||
|
||||
$patient = $get['patient_name'];
|
||||
$mobile = $get['mobile'];
|
||||
$doctor = $get['doctor_name'];
|
||||
$patient = $get['patient_name']?? '';
|
||||
$mobile = $get['mobile']?? '';
|
||||
$doctor = $get['doctor_name']?? '';
|
||||
$query->joinWith(['patient' => function ($p) use ($patient, $mobile) {
|
||||
$p->alias('p');
|
||||
if (!empty($patient)) {//患者
|
||||
|
||||
Reference in New Issue
Block a user