public function updateStatues() { $approvedList = Approval::groupBy('request_id')->havingRaw("COUNT(*) > 1")->get(); dd($approvedList); }