@@ -17,6 +17,7 @@ func GetFreeViewerDetails(startTime, endTime string) (items []*FreeViewerDetails
LEFT JOIN user_view_history uvh on u.user_id = uvh.user_id
INNER JOIN user_record AS c ON u.user_id=c.user_id
where u.company_id = 1
+ and u.is_deal=0
and u.apply_method<>2
and u.mobile is not null
AND u.mobile<>''