📅  最后修改于: 2022-03-11 14:53:40.725000             🧑  作者: Mango
$patients_id = FollowUpQuestionsAfterSurgery::
orderBy('id' , 'desc')
->pluck("patient_id");
$patients = Paitent::whereIn("id" , $patients_id)->get()->->toArray();
return array_column($patients , "follow_up");