开方报错修复

This commit is contained in:
2024-12-02 08:39:34 +08:00
parent 904ec35f94
commit 368938af2d

View File

@@ -568,7 +568,7 @@ class PrescriptionController extends BaseAppController
$doctor_order[] = '该处方有效期延长为三天内有效';
$over_time = 72*3600;
}
if($repice[0]['dosage'] > 7){
if($repice[0]['dosage']?? 0 > 7){
$doctor_order[] = '患者需长期使用此药,开具超七天用量';
}
$doctor_order[] = $param['doctor_order'];