修复年龄问题

This commit is contained in:
2025-04-07 10:59:59 +08:00
parent dde9fe0735
commit bb959ebc09

View File

@@ -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'],
// 单剂量