瀏覽代碼

快手、头条账户视频报表更换application库数据

zhaoxian 3 年之前
父節點
當前提交
17878bf05b

+ 4 - 4
jeecg-boot-module-system/src/main/java/org/jeecg/common/constant/AccountReportConstants.java

@@ -1153,7 +1153,7 @@ public class AccountReportConstants {
             "    \"comment\": \"消耗\"\n" +
             "  },\n" +
             "  \"cpm\": {\n" +
-            "    \"filed\": \"CASE WHEN sum(t1.cost) / sum(t1._`show`) IS NULL THEN 0 ELSE ROUND((sum(t1.cost) / sum(t1._`show`)) * 1000, 2 ) END AS cpm \",\n" +
+            "    \"filed\": \"CASE WHEN sum(t1.cost) / sum(t1.`show`) IS NULL THEN 0 ELSE ROUND((sum(t1.cost) / sum(t1.`show`)) * 1000, 2 ) END AS cpm \",\n" +
             "    \"comment\": \"平均千次展现费用\"\n" +
             "  },\n" +
             "  \"clickMaterial\": {\n" +
@@ -1161,7 +1161,7 @@ public class AccountReportConstants {
             "    \"comment\": \"点击数\"\n" +
             "  },\n" +
             "  \"ctr\": {\n" +
-            "    \"filed\": \"CASE WHEN sum(t1._`show`) != 0 THEN CONCAT(CAST(ROUND((sum(t1.click) / sum(t1._`show`)) * 100,2) AS CHAR) ,'%') ELSE '0%' end  AS ctr\",\n" +
+            "    \"filed\": \"CASE WHEN sum(t1.`show`) != 0 THEN CONCAT(CAST(ROUND((sum(t1.click) / sum(t1.`show`)) * 100,2) AS CHAR) ,'%') ELSE '0%' end  AS ctr\",\n" +
             "    \"comment\": \"点击率\"\n" +
             "  },\n" +
             "  \"cpc\": {\n" +
@@ -1177,7 +1177,7 @@ public class AccountReportConstants {
             "    \"comment\": \"转化成本\"\n" +
             "  },\n" +
             "  \"convertRate\": {\n" +
-            "    \"filed\": \"CASE WHEN sum(t1._`show`)!= 0 THEN concat(CAST(round(sum(t1.`convert`) / sum(t1._`show`)*100,2) AS CHAR) ,'%') ELSE '0%' end  AS convertRate \",\n" +
+            "    \"filed\": \"CASE WHEN sum(t1.`show`)!= 0 THEN concat(CAST(round(sum(t1.`convert`) / sum(t1.`show`)*100,2) AS CHAR) ,'%') ELSE '0%' end  AS convertRate \",\n" +
             "    \"comment\": \"转化率\"\n" +
             "  },\n" +
             "  \"downloadStart\": {\n" +
@@ -1297,7 +1297,7 @@ public class AccountReportConstants {
             "    \"comment\": \"分享数\"\n" +
             "  },\n" +
             "  \"showMaterial\": {\n" +
-            "    \"filed\": \"IFNULL(t1._`show`, 0 ) AS materialShow \",\n" +
+            "    \"filed\": \"IFNULL(t1.`show`, 0 ) AS materialShow \",\n" +
             "    \"comment\": \"展示数\"\n" +
             "  }\n" +
             "}";