跟进次数

This commit is contained in:
苏竹红
2023-07-25 13:44:20 +08:00
committed by feng.li
parent cebad69c3a
commit 650d69a97b

View File

@@ -579,7 +579,7 @@
<select id="getFollowCountList" resultType="com.cool.store.dto.partner.LineCountDTO"> <select id="getFollowCountList" resultType="com.cool.store.dto.partner.LineCountDTO">
SELECT partner_id, IFNULL(COUNT(1), 0) AS followCount SELECT partner_id, IFNULL(COUNT(1), 0) AS followCount
FROM hy_partner_line_info FROM hy_partner_line_info
where (deleted = 1 or (deleted=0 and line_status=0 and close_time is not null)) where (deleted = 1 or (deleted=0 and line_status=0 and close_time is not null and investment_manager is not null))
GROUP BY partner_id; GROUP BY partner_id;
</select> </select>