From bb959ebc09765169e975c37b29857990b3f814f1 Mon Sep 17 00:00:00 2001 From: lq Date: Mon, 7 Apr 2025 10:59:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B9=B4=E9=BE=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/jobs/ProductOrderSyncJob.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/jobs/ProductOrderSyncJob.php b/common/jobs/ProductOrderSyncJob.php index ea60591..81eee99 100644 --- a/common/jobs/ProductOrderSyncJob.php +++ b/common/jobs/ProductOrderSyncJob.php @@ -70,7 +70,8 @@ class ProductOrderSyncJob extends BaseJob implements JobInterface // 性别,根据患者性别代码决定 'sex' => $prescriptionContent['patient']['sex'] == 1 ? '男':'女', // 年龄,通过身份证号码计算得出 - 'age' => FuncHelper::getAgeFromIdNo($prescriptionContent['patient']['id_card']), +// 'age' => FuncHelper::getAgeFromIdNo($prescriptionContent['patient']['id_card']), + 'age' => $prescriptionContent['patient']['age'], // 总剂量 'tot_posts' => $recipe['dosage'], // 单剂量