From 368938af2db0a784a47893886d3f1d7880c6e418 Mon Sep 17 00:00:00 2001 From: lq Date: Mon, 2 Dec 2024 08:39:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E6=96=B9=E6=8A=A5=E9=94=99=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/modules/v1/controllers/PrescriptionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/modules/v1/controllers/PrescriptionController.php b/service/modules/v1/controllers/PrescriptionController.php index e8e6849..aaad791 100644 --- a/service/modules/v1/controllers/PrescriptionController.php +++ b/service/modules/v1/controllers/PrescriptionController.php @@ -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'];