傅行帆 5 年之前
父節點
當前提交
26fc885b71
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/main/resources/mapper/statistic/TaActivityStaticMapper.xml

+ 1
- 1
src/main/resources/mapper/statistic/TaActivityStaticMapper.xml 查看文件

@@ -1976,7 +1976,7 @@
1976 1976
         left join ta_person a on t.person_id = a.person_id
1977 1977
         left join ta_person_from_record b on a.person_id = b.person_id and b.org_id = #{orgId} and b.is_first_time =1
1978 1978
         left join td_wx_dict b1 on b.scene_id = b1.scene_id
1979
-        left join ta_recommend_customer c on c.person_id = t.person_id
1979
+        left join ta_recommend_customer c on c.person_id = t.person_id and c.realty_consultant is not null
1980 1980
         LEFT JOIN ta_user d ON c.realty_consultant = d.user_id
1981 1981
         LEFT JOIN ta_person e ON t.share_person_id = e.person_id
1982 1982
         WHERE t.target_type in ('dynamic','h5','help','live', 'group','activity') and t.org_id =