跟进次数
This commit is contained in:
@@ -580,6 +580,11 @@
|
||||
SELECT partner_id, IFNULL(COUNT(1), 0) AS followCount
|
||||
FROM hy_partner_line_info
|
||||
where (deleted = 1 or (deleted=0 and line_status=0 and close_time is not null and investment_manager is not null))
|
||||
<if test="partnerIdList!=null and partnerIdList.size>0">
|
||||
<foreach collection="partnerIdList" item="partnerId" open="and partner_id in (" close=")" separator=",">
|
||||
#{partnerId}
|
||||
</foreach>
|
||||
</if>
|
||||
GROUP BY partner_id;
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user