فهرست منبع

快手账户报表、快手视频报表加一个字段,自定义列里加新增付费人数率=付费次数/激活数

zhaoxian 3 سال پیش
والد
کامیت
ba86e637f0
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      jeecg-boot-module-system/src/main/java/org/jeecg/common/constant/AccountReportConstants.java

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

@@ -564,6 +564,10 @@ public class AccountReportConstants {
             "  \"activeRate\": {\n" +
             "    \"filed\": \"CASE WHEN  sum(t1.download_completed) != 0 THEN concat(CAST(round(sum(t1.activation) / sum(t1.download_completed)*100,2) AS CHAR) ,'%') else '0.00%' end as activeRate \",\n" +
             "    \"comment\": \"下载完成激活率\"\n" +
+            "  },\n" +
+            "  \"eventNewUserPayRatio\": {\n" +
+            "    \"filed\": \"CONCAT(IFNULL(ROUND(event_new_user_pay_ratio * 100,2),0.00),'%') as eventNewUserPayRatio \",\n" +
+            "    \"comment\": \"新增付费人数率\"\n" +
             "  }\n" +
             "}";
 
@@ -779,9 +783,14 @@ public class AccountReportConstants {
             "  \"play3sRate\": {\n" +
             "    \"filed\": \"CASE WHEN sum(aclick) != 0 THEN CONCAT(CAST(ROUND( sum(t1.play_3s_count) / sum(t1.aclick),2 )  * 100 AS CHAR),'%') ELSE '-' END AS play3sRate\",\n" +
             "    \"comment\": \"3s播放率\"\n" +
+            "  },\n" +
+            "  \"eventNewUserPayRatio\": {\n" +
+            "    \"filed\": \"CASE WHEN  sum(t1.activation) != 0 THEN concat(CAST(round(sum(t1.event_pay) / sum(t1.activation)*100,2) AS CHAR) ,'%') else '0.00%' end as eventNewUserPayRatio \",\n" +
+            "    \"comment\": \"新增付费人数率\"\n" +
             "  }\n" +
             "}";
 
+
     public static final String KUAISHOU_VIDEO_REPORT_FILED_MAPPING_JSON_NEW = "{\n" +
             "  \"signature\": {\n" +
             "    \"filed\": \"t1.signature as signature \",\n" +