更新
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user