瀏覽代碼

fix:已标记的潜在用户不导出

Roc 3 年之前
父節點
當前提交
68a6ecb777
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      models/free_viewer.go

+ 1 - 0
models/free_viewer.go

@@ -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<>''