SQL:
$datas = DB::select("SELECT a.id,a.parent_id, d.action_id, d.role_id,d.department_id, d.is_created, d.is_edit,d.is_delete,d.is_view,d.is_audit,d