Browse Source

sql优化

zhouzeyu@c-top.com.cn 3 years ago
parent
commit
6dd7031444

+ 1 - 1
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/mapper/xml/MaterialReportOverViewV3Mapper.xml

@@ -1679,7 +1679,7 @@
         SELECT ROUND(SUM(t1.charge),2) as 'cost',
         SELECT ROUND(SUM(t1.charge),2) as 'cost',
         case when t2.parent_name='其他' then 'other' when t2.parent_name='制作' then 'making' when t2.parent_name='真人' then
         case when t2.parent_name='其他' then 'other' when t2.parent_name='制作' then 'making' when t2.parent_name='真人' then
         'reality' end as 'label'
         'reality' end as 'label'
-        from application.app_bytedance_material_info t
+        from application.app_kuaishou_material_info t
         left join application.app_material_tag_busi_info t2 on t.material_id=t2.material_id
         left join application.app_material_tag_busi_info t2 on t.material_id=t2.material_id
         left join application.kuaishou_material_video_report_daily_dw t1 on t.material_id = t1.signature
         left join application.kuaishou_material_video_report_daily_dw t1 on t.material_id = t1.signature