yumeng 8 ay önce
ebeveyn
işleme
8b48f090aa

+ 1 - 0
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/DuanJUReportMapper.xml

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