Selaa lähdekoodia

【数据查看】素材时间选择时间段,各参数数值计算逻辑修改

huangxuechao 4 vuotta sitten
vanhempi
commit
85380ff519

+ 4 - 4
jeecg-boot-bytedance/src/main/java/org/jeecg/modules/bytedance/report/mapper/xml/BytedanceReportMaterialDailyMapper.xml

@@ -7,10 +7,10 @@
         SELECT
             video.video_url as videoUrl,
             concat(report.material_id,'') as materialId,
-            report.cost,
-            report.show_material as showMaterial,
-            report.click,
-            report.convert_material as convertMaterial,
+            sum(report.cost) as cost,
+            sum(report.show_material) as showMaterial,
+            sum(report.click) as click,
+            sum(report.convert_material) as convertMaterial,
             creative.count,
             video.material_upload_time as materialUploadTime,
             video.poster_url as posterUrl,