@@ -119,6 +119,7 @@
WHERE t1.stat_date >= #{start}
AND t1.stat_date <= #{end}) t
where 1 = 1
+ and sum(t.charge) > 0
<if test="videoName!=null and videoName!=''">and t.photo_name like concat('%',#{videoName},'%')</if>
group by t.photo_id
ORDER BY sum(t.charge) DESC limit 100