This commit is contained in:
Your Name
2026-05-18 09:42:11 +08:00
parent 15b4339c90
commit d79db88349
7 changed files with 250 additions and 1 deletions
@@ -1097,7 +1097,7 @@ class PrescriptionOrderLogic
$phoneFrom,
$phone
);
self::writeLog($prescriptionOrderId, $adminId, $adminInfo, 'patch_rx_patient', $summary);
self::appendRxPatientPatchLog($prescriptionOrderId, $adminId, $adminInfo, $summary);
return true;
} catch (\Exception $e) {
@@ -3248,4 +3248,14 @@ class PrescriptionOrderLogic
// 忽略日志写入错误
}
}
/**
* 处方患者姓名/手机号修正日志(写入 zyt_tcm_prescription_order_log,与 patchPrescriptionPatient 同源)
*
* @param int $prescriptionOrderId 无关联订单时可传 0(若库表禁止则可能静默失败)
*/
public static function appendRxPatientPatchLog(int $prescriptionOrderId, int $adminId, array $adminInfo, string $summary): void
{
self::writeLog($prescriptionOrderId, $adminId, $adminInfo, 'patch_rx_patient', $summary);
}
}