|
@@ -199,7 +199,7 @@ public class AccountReportConstants {
|
|
|
" \"comment\": \"安卓开始下载数\"\n" +
|
|
|
" },\n" +
|
|
|
" \"downloadStartCost\": {\n" +
|
|
|
- " \"filed\": \"CASE WHEN sum(t1.charge) / (t1.download_started) IS NULL THEN 0 ELSE sum(t1.charge) / sum(t1.download_started) end AS downloadStartCost \",\n" +
|
|
|
+ " \"filed\": \"CASE WHEN sum(t1.charge) / (t1.download_started) IS NULL THEN 0 ELSE round(sum(t1.charge) / sum(t1.download_started),3) end AS downloadStartCost \",\n" +
|
|
|
" \"comment\": \"安卓开始下载单价\"\n" +
|
|
|
" },\n" +
|
|
|
" \"downloadStartRate\": {\n" +
|
|
@@ -211,7 +211,7 @@ public class AccountReportConstants {
|
|
|
" \"comment\": \"安卓下载完成数\"\n" +
|
|
|
" },\n" +
|
|
|
" \"downloadFinishCost\": {\n" +
|
|
|
- " \"filed\": \"CASE WHEN sum(t1.charge) / sum(t1.download_completed) IS NULL THEN 0 ELSE sum(t1.charge) / sum(t1.download_completed) end AS downloadFinishCost \",\n" +
|
|
|
+ " \"filed\": \"CASE WHEN sum(t1.charge) / sum(t1.download_completed) IS NULL THEN 0 ELSE round(sum(t1.charge) / sum(t1.download_completed),3) end AS downloadFinishCost \",\n" +
|
|
|
" \"comment\": \"安卓下载完成单价\"\n" +
|
|
|
" },\n" +
|
|
|
" \"downloadFinishRate\": {\n" +
|
|
@@ -223,7 +223,7 @@ public class AccountReportConstants {
|
|
|
" \"comment\": \"激活数\"\n" +
|
|
|
" },\n" +
|
|
|
" \"activeCost\": {\n" +
|
|
|
- " \"filed\": \"CASE WHEN sum(t1.charge) / sum(t1.activation) IS NULL THEN 0 ELSE sum(t1.charge) / sum(t1.activation) end AS activeCost \",\n" +
|
|
|
+ " \"filed\": \"CASE WHEN sum(t1.charge) / sum(t1.activation) IS NULL THEN 0 ELSE round(sum(t1.charge) / sum(t1.activation),3) end AS activeCost \",\n" +
|
|
|
" \"comment\": \"激活单价\"\n" +
|
|
|
" },\n" +
|
|
|
" \"firstDayPay\": {\n" +
|
|
@@ -235,7 +235,7 @@ public class AccountReportConstants {
|
|
|
" \"comment\": \"首日付费金额\"\n" +
|
|
|
" },\n" +
|
|
|
" \"firstDayPayCost\": {\n" +
|
|
|
- " \"filed\": \"CASE WHEN sum(t1.charge) / sum(t1.event_pay_first_day) IS NULL THEN 0 ELSE sum(t1.charge) / sum(t1.event_pay_first_day) end AS firstDayPayCost \",\n" +
|
|
|
+ " \"filed\": \"CASE WHEN sum(t1.charge) / sum(t1.event_pay_first_day) IS NULL THEN 0 ELSE round(sum(t1.charge) / sum(t1.event_pay_first_day),3) end AS firstDayPayCost \",\n" +
|
|
|
" \"comment\": \"首日付费成本\"\n" +
|
|
|
" },\n" +
|
|
|
" \"firstDayPayROI\": {\n" +
|
|
@@ -251,7 +251,7 @@ public class AccountReportConstants {
|
|
|
" \"comment\": \"付费金额\"\n" +
|
|
|
" },\n" +
|
|
|
" \"eventPayCost\": {\n" +
|
|
|
- " \"filed\": \"CASE WHEN sum(t1.charge) / sum(t1.event_pay) IS NULL THEN 0 ELSE sum(t1.charge) / sum(t1.event_pay) end AS eventPayCost \",\n" +
|
|
|
+ " \"filed\": \"CASE WHEN sum(t1.charge) / sum(t1.event_pay) IS NULL THEN 0 ELSE round(sum(t1.charge) / sum(t1.event_pay),3) end AS eventPayCost \",\n" +
|
|
|
" \"comment\": \"付费次数成本\"\n" +
|
|
|
" },\n" +
|
|
|
" \"ROI\": {\n" +
|