升级php版本后错误修复

This commit is contained in:
2024-12-02 09:13:03 +08:00
parent 981506b9ab
commit 1918783026

View File

@@ -56,8 +56,9 @@ class PrescriptionService{
$PharmacistIdentity= PharmacistIdentity::find()->where(['su_id'=>$prescription['pharmacist_id']])->asArray()->one();
$prescription['doctor_sign_image']=$DoctorIdentity['sign_image'];
$prescription['doctor_sign_type']=$DoctorIdentity['sign_type'];
$prescription['Pharmacist_sign_image']=$PharmacistIdentity['sign_image'];
$prescription['Pharmacist_sign_type']=$PharmacistIdentity['sign_type'];
// TODO 有些错误
$prescription['Pharmacist_sign_image']=$PharmacistIdentity['sign_image']?? '';
$prescription['Pharmacist_sign_type']=$PharmacistIdentity['sign_type']?? '';
return $prescription;
} catch (Exception $e) {