@@ -56,7 +56,7 @@
<select id="selectVote" resultMap="productVoteResultMap">
SELECT p.product_no product_no,p.title product_name,h.ip,count(0) t_count,h.status t_status FROM sing_active_help_record h
left join sing_active_product_record p on h.product_id = p.id
- WHERE product_id = #{productId}
+ WHERE product_id = #{productId} and h.is_deleted = 0
group by h.ip,h.status order by t_count desc
</select>