where('trafficinfo_uid', $uid) ->orderBy('created_at', 'DESC') ->first(); // 첫 번째 레코드(=가장 최신) } }