Commit e40362c3 by 赵增煜

fix

parent e453e2c3
...@@ -112,6 +112,9 @@ public function autoPrescriptionReview() ...@@ -112,6 +112,9 @@ public function autoPrescriptionReview()
$prescriptionInfo->save(); $prescriptionInfo->save();
// 获取患者信息 // 获取患者信息
$patient = PatientModel::where('id', $prescriptionInfo->patient_id)->first(); $patient = PatientModel::where('id', $prescriptionInfo->patient_id)->first();
if($patient==null) {}
continue;
}
// 生成审方日志 // 生成审方日志
$dateTime = new DateTime($prescription->created_at); $dateTime = new DateTime($prescription->created_at);
$dateTime->modify('+5 minutes'); $dateTime->modify('+5 minutes');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment