Przeglądaj źródła

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

Roc 3 lat temu
rodzic
commit
68a6ecb777
1 zmienionych plików z 1 dodań i 0 usunięć
  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<>''