|
@@ -4,11 +4,13 @@ import com.aliyun.odps.data.Record;
|
|
import com.google.gson.annotations.SerializedName;
|
|
import com.google.gson.annotations.SerializedName;
|
|
import flink.zanxiangnet.ad.monitoring.maxcompute.bean.annotation.MaxComputeColumn;
|
|
import flink.zanxiangnet.ad.monitoring.maxcompute.bean.annotation.MaxComputeColumn;
|
|
import flink.zanxiangnet.ad.monitoring.maxcompute.bean.annotation.MaxComputeTable;
|
|
import flink.zanxiangnet.ad.monitoring.maxcompute.bean.annotation.MaxComputeTable;
|
|
|
|
+import flink.zanxiangnet.ad.monitoring.util.NumberUtil;
|
|
import flink.zanxiangnet.ad.monitoring.util.ObjectUtil;
|
|
import flink.zanxiangnet.ad.monitoring.util.ObjectUtil;
|
|
import flink.zanxiangnet.ad.monitoring.util.PlanUtil;
|
|
import flink.zanxiangnet.ad.monitoring.util.PlanUtil;
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
import java.util.*;
|
|
import java.util.*;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -97,19 +99,19 @@ public class PlanStatOfHourDWD {
|
|
* 当日成本偏差。反映广告今日的实际成本与目标成本直接的差异,注:该项成本相关数据按小时更新,与实时更新的「转化目标成本」数据存在出入属于正常情况。
|
|
* 当日成本偏差。反映广告今日的实际成本与目标成本直接的差异,注:该项成本相关数据按小时更新,与实时更新的「转化目标成本」数据存在出入属于正常情况。
|
|
*/
|
|
*/
|
|
@SerializedName("cost_deviation_rate_total")
|
|
@SerializedName("cost_deviation_rate_total")
|
|
- private Double costDeviationRateTotal;
|
|
|
|
|
|
+ private BigDecimal costDeviationRateTotal;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 当日成本偏差。反映广告今日的实际成本与目标成本直接的差异,注:该项成本相关数据按小时更新,与实时更新的「转化目标成本」数据存在出入属于正常情况。
|
|
* 当日成本偏差。反映广告今日的实际成本与目标成本直接的差异,注:该项成本相关数据按小时更新,与实时更新的「转化目标成本」数据存在出入属于正常情况。
|
|
*/
|
|
*/
|
|
@SerializedName("cost_deviation_rate_day")
|
|
@SerializedName("cost_deviation_rate_day")
|
|
- private Double costDeviationRateDay;
|
|
|
|
|
|
+ private BigDecimal costDeviationRateDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 当日成本偏差。反映广告今日的实际成本与目标成本直接的差异,注:该项成本相关数据按小时更新,与实时更新的「转化目标成本」数据存在出入属于正常情况。
|
|
* 当日成本偏差。反映广告今日的实际成本与目标成本直接的差异,注:该项成本相关数据按小时更新,与实时更新的「转化目标成本」数据存在出入属于正常情况。
|
|
*/
|
|
*/
|
|
@SerializedName("cost_deviation_rate_hour")
|
|
@SerializedName("cost_deviation_rate_hour")
|
|
- private Double costDeviationRateHour;
|
|
|
|
|
|
+ private BigDecimal costDeviationRateHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 消耗
|
|
* 消耗
|
|
@@ -187,7 +189,7 @@ public class PlanStatOfHourDWD {
|
|
* 人均曝光次数。每个用户观看广告的平均次数。
|
|
* 人均曝光次数。每个用户观看广告的平均次数。
|
|
*/
|
|
*/
|
|
@SerializedName("avg_view_per_user_hour")
|
|
@SerializedName("avg_view_per_user_hour")
|
|
- private Double avgViewPerUserHour;
|
|
|
|
|
|
+ private BigDecimal avgViewPerUserHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 点击次数。用户在广告外层进行点击操作的次数。包括点击图片/视频,及朋友圈广告“文字链、头像、昵称、门店、选择按钮”等所有广告外层区域的点击。
|
|
* 点击次数。用户在广告外层进行点击操作的次数。包括点击图片/视频,及朋友圈广告“文字链、头像、昵称、门店、选择按钮”等所有广告外层区域的点击。
|
|
@@ -211,19 +213,19 @@ public class PlanStatOfHourDWD {
|
|
* 点击率。看到广告后执行点击操作的百分比。计算逻辑:广告点击次数/广告曝光次数。
|
|
* 点击率。看到广告后执行点击操作的百分比。计算逻辑:广告点击次数/广告曝光次数。
|
|
*/
|
|
*/
|
|
@SerializedName("ctr_all")
|
|
@SerializedName("ctr_all")
|
|
- private Double ctrAll;
|
|
|
|
|
|
+ private BigDecimal ctrAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 点击率。看到广告后执行点击操作的百分比。计算逻辑:广告点击次数/广告曝光次数。
|
|
* 点击率。看到广告后执行点击操作的百分比。计算逻辑:广告点击次数/广告曝光次数。
|
|
*/
|
|
*/
|
|
@SerializedName("ctr_day")
|
|
@SerializedName("ctr_day")
|
|
- private Double ctrDay;
|
|
|
|
|
|
+ private BigDecimal ctrDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 点击率。看到广告后执行点击操作的百分比。计算逻辑:广告点击次数/广告曝光次数。
|
|
* 点击率。看到广告后执行点击操作的百分比。计算逻辑:广告点击次数/广告曝光次数。
|
|
*/
|
|
*/
|
|
@SerializedName("ctr_hour")
|
|
@SerializedName("ctr_hour")
|
|
- private Double ctrHour;
|
|
|
|
|
|
+ private BigDecimal ctrHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 点击均价。一次广告点击的平均花费。计算逻辑:广告花费/广告点击次数。
|
|
* 点击均价。一次广告点击的平均花费。计算逻辑:广告花费/广告点击次数。
|
|
@@ -265,19 +267,19 @@ public class PlanStatOfHourDWD {
|
|
* 可转化点击率。用户看到广告后执行可转化点击操作的百分比。计算逻辑:广告可转化点击次数/广告曝光次数。
|
|
* 可转化点击率。用户看到广告后执行可转化点击操作的百分比。计算逻辑:广告可转化点击次数/广告曝光次数。
|
|
*/
|
|
*/
|
|
@SerializedName("valuable_click_rate_all")
|
|
@SerializedName("valuable_click_rate_all")
|
|
- private Double valuableClickRateAll;
|
|
|
|
|
|
+ private BigDecimal valuableClickRateAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 可转化点击率。用户看到广告后执行可转化点击操作的百分比。计算逻辑:广告可转化点击次数/广告曝光次数。
|
|
* 可转化点击率。用户看到广告后执行可转化点击操作的百分比。计算逻辑:广告可转化点击次数/广告曝光次数。
|
|
*/
|
|
*/
|
|
@SerializedName("valuable_click_rate_day")
|
|
@SerializedName("valuable_click_rate_day")
|
|
- private Double valuableClickRateDay;
|
|
|
|
|
|
+ private BigDecimal valuableClickRateDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 可转化点击率。用户看到广告后执行可转化点击操作的百分比。计算逻辑:广告可转化点击次数/广告曝光次数。
|
|
* 可转化点击率。用户看到广告后执行可转化点击操作的百分比。计算逻辑:广告可转化点击次数/广告曝光次数。
|
|
*/
|
|
*/
|
|
@SerializedName("valuable_click_rate_hour")
|
|
@SerializedName("valuable_click_rate_hour")
|
|
- private Double valuableClickRateHour;
|
|
|
|
|
|
+ private BigDecimal valuableClickRateHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 可转化点击成本。一次可转化点击的平均花费。计算逻辑:广告花费/可转化点击次数。
|
|
* 可转化点击成本。一次可转化点击的平均花费。计算逻辑:广告花费/可转化点击次数。
|
|
@@ -337,19 +339,19 @@ public class PlanStatOfHourDWD {
|
|
* 目标转化率。朋友圈:转化目标量/可转化点击次数。公众号:转化目标量/点击次数。
|
|
* 目标转化率。朋友圈:转化目标量/可转化点击次数。公众号:转化目标量/点击次数。
|
|
*/
|
|
*/
|
|
@SerializedName("conversions_rate_all")
|
|
@SerializedName("conversions_rate_all")
|
|
- private Double conversionsRateAll;
|
|
|
|
|
|
+ private BigDecimal conversionsRateAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 目标转化率。朋友圈:转化目标量/可转化点击次数。公众号:转化目标量/点击次数。
|
|
* 目标转化率。朋友圈:转化目标量/可转化点击次数。公众号:转化目标量/点击次数。
|
|
*/
|
|
*/
|
|
@SerializedName("conversions_rate_day")
|
|
@SerializedName("conversions_rate_day")
|
|
- private Double conversionsRateDay;
|
|
|
|
|
|
+ private BigDecimal conversionsRateDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 目标转化率。朋友圈:转化目标量/可转化点击次数。公众号:转化目标量/点击次数。
|
|
* 目标转化率。朋友圈:转化目标量/可转化点击次数。公众号:转化目标量/点击次数。
|
|
*/
|
|
*/
|
|
@SerializedName("conversions_rate_hour")
|
|
@SerializedName("conversions_rate_hour")
|
|
- private Double conversionsRateHour;
|
|
|
|
|
|
+ private BigDecimal conversionsRateHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 深度转化目标量-灰度中。根据您选择的深度智能优化目标,该广告对应的具体数量。部分需接入转化跟踪后可统计。
|
|
* 深度转化目标量-灰度中。根据您选择的深度智能优化目标,该广告对应的具体数量。部分需接入转化跟踪后可统计。
|
|
@@ -391,19 +393,19 @@ public class PlanStatOfHourDWD {
|
|
* 深度目标转化率-灰度中。朋友圈:深度转化目标量/可转化点击次数。公众号:深度转化目标量/点击次数。指标随深度转化功能灰度中。接入转化跟踪后可统计。
|
|
* 深度目标转化率-灰度中。朋友圈:深度转化目标量/可转化点击次数。公众号:深度转化目标量/点击次数。指标随深度转化功能灰度中。接入转化跟踪后可统计。
|
|
*/
|
|
*/
|
|
@SerializedName("deep_conversions_rate_all")
|
|
@SerializedName("deep_conversions_rate_all")
|
|
- private Double deepConversionsRateAll;
|
|
|
|
|
|
+ private BigDecimal deepConversionsRateAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 深度目标转化率-灰度中。朋友圈:深度转化目标量/可转化点击次数。公众号:深度转化目标量/点击次数。指标随深度转化功能灰度中。接入转化跟踪后可统计。
|
|
* 深度目标转化率-灰度中。朋友圈:深度转化目标量/可转化点击次数。公众号:深度转化目标量/点击次数。指标随深度转化功能灰度中。接入转化跟踪后可统计。
|
|
*/
|
|
*/
|
|
@SerializedName("deep_conversions_rate_day")
|
|
@SerializedName("deep_conversions_rate_day")
|
|
- private Double deepConversionsRateDay;
|
|
|
|
|
|
+ private BigDecimal deepConversionsRateDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 深度目标转化率-灰度中。朋友圈:深度转化目标量/可转化点击次数。公众号:深度转化目标量/点击次数。指标随深度转化功能灰度中。接入转化跟踪后可统计。
|
|
* 深度目标转化率-灰度中。朋友圈:深度转化目标量/可转化点击次数。公众号:深度转化目标量/点击次数。指标随深度转化功能灰度中。接入转化跟踪后可统计。
|
|
*/
|
|
*/
|
|
@SerializedName("deep_conversions_rate_hour")
|
|
@SerializedName("deep_conversions_rate_hour")
|
|
- private Double deepConversionsRateHour;
|
|
|
|
|
|
+ private BigDecimal deepConversionsRateHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 下单量。用户通过该广告进行商品成交(如下单提交、在线支付)的次数。接入转化跟踪后可统计。
|
|
* 下单量。用户通过该广告进行商品成交(如下单提交、在线支付)的次数。接入转化跟踪后可统计。
|
|
@@ -463,19 +465,19 @@ public class PlanStatOfHourDWD {
|
|
* 下单率。一次点击到下单的转化率。
|
|
* 下单率。一次点击到下单的转化率。
|
|
*/
|
|
*/
|
|
@SerializedName("order_rate_all")
|
|
@SerializedName("order_rate_all")
|
|
- private Double orderRateAll;
|
|
|
|
|
|
+ private BigDecimal orderRateAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 下单率。一次点击到下单的转化率。
|
|
* 下单率。一次点击到下单的转化率。
|
|
*/
|
|
*/
|
|
@SerializedName("order_rate_day")
|
|
@SerializedName("order_rate_day")
|
|
- private Double orderRateDay;
|
|
|
|
|
|
+ private BigDecimal orderRateDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 下单率。一次点击到下单的转化率。
|
|
* 下单率。一次点击到下单的转化率。
|
|
*/
|
|
*/
|
|
@SerializedName("order_rate_hour")
|
|
@SerializedName("order_rate_hour")
|
|
- private Double orderRateHour;
|
|
|
|
|
|
+ private BigDecimal orderRateHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 下单金额。广告带来的总订单金额(即销售额)。接入转化跟踪后可统计。
|
|
* 下单金额。广告带来的总订单金额(即销售额)。接入转化跟踪后可统计。
|
|
@@ -535,19 +537,19 @@ public class PlanStatOfHourDWD {
|
|
* 下单ROI。下单金额/广告花费。接入转化跟踪后可统计。
|
|
* 下单ROI。下单金额/广告花费。接入转化跟踪后可统计。
|
|
*/
|
|
*/
|
|
@SerializedName("order_roi_all")
|
|
@SerializedName("order_roi_all")
|
|
- private Double orderRoiAll;
|
|
|
|
|
|
+ private BigDecimal orderRoiAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 下单ROI。下单金额/广告花费。接入转化跟踪后可统计。
|
|
* 下单ROI。下单金额/广告花费。接入转化跟踪后可统计。
|
|
*/
|
|
*/
|
|
@SerializedName("order_roi_day")
|
|
@SerializedName("order_roi_day")
|
|
- private Double orderRoiDay;
|
|
|
|
|
|
+ private BigDecimal orderRoiDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 下单ROI。下单金额/广告花费。接入转化跟踪后可统计。
|
|
* 下单ROI。下单金额/广告花费。接入转化跟踪后可统计。
|
|
*/
|
|
*/
|
|
@SerializedName("order_roi_hour")
|
|
@SerializedName("order_roi_hour")
|
|
- private Double orderRoiHour;
|
|
|
|
|
|
+ private BigDecimal orderRoiHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 签收次数。签收从广告主处购买的商品的次数。接入转化跟踪后可统计。
|
|
* 签收次数。签收从广告主处购买的商品的次数。接入转化跟踪后可统计。
|
|
@@ -625,37 +627,37 @@ public class PlanStatOfHourDWD {
|
|
* 小游戏注册率。一次点击到小游戏注册的转化率。
|
|
* 小游戏注册率。一次点击到小游戏注册的转化率。
|
|
*/
|
|
*/
|
|
@SerializedName("wechat_minigame_register_rate_all")
|
|
@SerializedName("wechat_minigame_register_rate_all")
|
|
- private Double wechatMinigameRegisterRateAll;
|
|
|
|
|
|
+ private BigDecimal wechatMinigameRegisterRateAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 小游戏注册率。一次点击到小游戏注册的转化率。
|
|
* 小游戏注册率。一次点击到小游戏注册的转化率。
|
|
*/
|
|
*/
|
|
@SerializedName("wechat_minigame_register_rate_day")
|
|
@SerializedName("wechat_minigame_register_rate_day")
|
|
- private Double wechatMinigameRegisterRateDay;
|
|
|
|
|
|
+ private BigDecimal wechatMinigameRegisterRateDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 小游戏注册率。一次点击到小游戏注册的转化率。
|
|
* 小游戏注册率。一次点击到小游戏注册的转化率。
|
|
*/
|
|
*/
|
|
@SerializedName("wechat_minigame_register_rate_hour")
|
|
@SerializedName("wechat_minigame_register_rate_hour")
|
|
- private Double wechatMinigameRegisterRateHour;
|
|
|
|
|
|
+ private BigDecimal wechatMinigameRegisterRateHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 首日新增广告ARPU。广告带来的注册用户,在注册当日,产生的平均广告变现收入。注:该指标天更新,可以查看昨天及以前的数据。
|
|
* 首日新增广告ARPU。广告带来的注册用户,在注册当日,产生的平均广告变现收入。注:该指标天更新,可以查看昨天及以前的数据。
|
|
*/
|
|
*/
|
|
@SerializedName("wechat_minigame_arpu_all")
|
|
@SerializedName("wechat_minigame_arpu_all")
|
|
- private Double wechatMinigameArpuAll;
|
|
|
|
|
|
+ private BigDecimal wechatMinigameArpuAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 首日新增广告ARPU。广告带来的注册用户,在注册当日,产生的平均广告变现收入。注:该指标天更新,可以查看昨天及以前的数据。
|
|
* 首日新增广告ARPU。广告带来的注册用户,在注册当日,产生的平均广告变现收入。注:该指标天更新,可以查看昨天及以前的数据。
|
|
*/
|
|
*/
|
|
@SerializedName("wechat_minigame_arpu_day")
|
|
@SerializedName("wechat_minigame_arpu_day")
|
|
- private Double wechatMinigameArpuDay;
|
|
|
|
|
|
+ private BigDecimal wechatMinigameArpuDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 首日新增广告ARPU。广告带来的注册用户,在注册当日,产生的平均广告变现收入。注:该指标天更新,可以查看昨天及以前的数据。
|
|
* 首日新增广告ARPU。广告带来的注册用户,在注册当日,产生的平均广告变现收入。注:该指标天更新,可以查看昨天及以前的数据。
|
|
*/
|
|
*/
|
|
@SerializedName("wechat_minigame_arpu_hour")
|
|
@SerializedName("wechat_minigame_arpu_hour")
|
|
- private Double wechatMinigameArpuHour;
|
|
|
|
|
|
+ private BigDecimal wechatMinigameArpuHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 小游戏次留人数。通过广告首次登录小游戏,并在第二天再次登录的独立用户数。接入转化跟踪后可统计。
|
|
* 小游戏次留人数。通过广告首次登录小游戏,并在第二天再次登录的独立用户数。接入转化跟踪后可统计。
|
|
@@ -733,19 +735,19 @@ public class PlanStatOfHourDWD {
|
|
* 公众号关注率。一次点击到公众号关注的转化率。
|
|
* 公众号关注率。一次点击到公众号关注的转化率。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_follow_rate_all")
|
|
@SerializedName("official_account_follow_rate_all")
|
|
- private Double officialAccountFollowRateAll;
|
|
|
|
|
|
+ private BigDecimal officialAccountFollowRateAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号关注率。一次点击到公众号关注的转化率。
|
|
* 公众号关注率。一次点击到公众号关注的转化率。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_follow_rate_day")
|
|
@SerializedName("official_account_follow_rate_day")
|
|
- private Double officialAccountFollowRateDay;
|
|
|
|
|
|
+ private BigDecimal officialAccountFollowRateDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号关注率。一次点击到公众号关注的转化率。
|
|
* 公众号关注率。一次点击到公众号关注的转化率。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_follow_rate_hour")
|
|
@SerializedName("official_account_follow_rate_hour")
|
|
- private Double officialAccountFollowRateHour;
|
|
|
|
|
|
+ private BigDecimal officialAccountFollowRateHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号内注册人数。用户通过关注类广告关注公众号后,在公众号内部产生了广告主定义的注册行为的人数(UV)。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
* 公众号内注册人数。用户通过关注类广告关注公众号后,在公众号内部产生了广告主定义的注册行为的人数(UV)。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
@@ -769,19 +771,19 @@ public class PlanStatOfHourDWD {
|
|
* 公众号内注册比例。公众号内注册独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
* 公众号内注册比例。公众号内注册独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_register_rate_all")
|
|
@SerializedName("official_account_register_rate_all")
|
|
- private Double officialAccountRegisterRateAll;
|
|
|
|
|
|
+ private BigDecimal officialAccountRegisterRateAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号内注册比例。公众号内注册独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
* 公众号内注册比例。公众号内注册独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_register_rate_day")
|
|
@SerializedName("official_account_register_rate_day")
|
|
- private Double officialAccountRegisterRateDay;
|
|
|
|
|
|
+ private BigDecimal officialAccountRegisterRateDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号内注册比例。公众号内注册独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
* 公众号内注册比例。公众号内注册独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_register_rate_hour")
|
|
@SerializedName("official_account_register_rate_hour")
|
|
- private Double officialAccountRegisterRateHour;
|
|
|
|
|
|
+ private BigDecimal officialAccountRegisterRateHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号内注册成本。广告花费/广告产生的注册行为数量。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
* 公众号内注册成本。广告花费/广告产生的注册行为数量。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
@@ -877,19 +879,19 @@ public class PlanStatOfHourDWD {
|
|
* 公众号内填单比例。公众号内填单的独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
* 公众号内填单比例。公众号内填单的独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_apply_rate_all")
|
|
@SerializedName("official_account_apply_rate_all")
|
|
- private Double officialAccountApplyRateAll;
|
|
|
|
|
|
+ private BigDecimal officialAccountApplyRateAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号内填单比例。公众号内填单的独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
* 公众号内填单比例。公众号内填单的独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_apply_rate_day")
|
|
@SerializedName("official_account_apply_rate_day")
|
|
- private Double officialAccountApplyRateDay;
|
|
|
|
|
|
+ private BigDecimal officialAccountApplyRateDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号内填单比例。公众号内填单的独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
* 公众号内填单比例。公众号内填单的独立用户数/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放)。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_apply_rate_hour")
|
|
@SerializedName("official_account_apply_rate_hour")
|
|
- private Double officialAccountApplyRateHour;
|
|
|
|
|
|
+ private BigDecimal officialAccountApplyRateHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号内填单成本。广告花费/广告产生的填单行为数量。接入转化跟踪后可统计(公众号接入暂未全量开放) 。
|
|
* 公众号内填单成本。广告花费/广告产生的填单行为数量。接入转化跟踪后可统计(公众号接入暂未全量开放) 。
|
|
@@ -1003,19 +1005,19 @@ public class PlanStatOfHourDWD {
|
|
* 公众号内下单比例。公众号内下单独立用户数(UV)/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放) 。
|
|
* 公众号内下单比例。公众号内下单独立用户数(UV)/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放) 。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_order_rate_all")
|
|
@SerializedName("official_account_order_rate_all")
|
|
- private Double officialAccountOrderRateAll;
|
|
|
|
|
|
+ private BigDecimal officialAccountOrderRateAll;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号内下单比例。公众号内下单独立用户数(UV)/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放) 。
|
|
* 公众号内下单比例。公众号内下单独立用户数(UV)/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放) 。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_order_rate_day")
|
|
@SerializedName("official_account_order_rate_day")
|
|
- private Double officialAccountOrderRateDay;
|
|
|
|
|
|
+ private BigDecimal officialAccountOrderRateDay;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号内下单比例。公众号内下单独立用户数(UV)/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放) 。
|
|
* 公众号内下单比例。公众号内下单独立用户数(UV)/公众号关注次数。接入转化跟踪后可统计(公众号接入暂未全量开放) 。
|
|
*/
|
|
*/
|
|
@SerializedName("official_account_order_rate_hour")
|
|
@SerializedName("official_account_order_rate_hour")
|
|
- private Double officialAccountOrderRateHour;
|
|
|
|
|
|
+ private BigDecimal officialAccountOrderRateHour;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 公众号内下单成本。广告花费/广告产生的下单行为数量。接入转化跟踪后可统计(公众号接入暂未全量开放) 。
|
|
* 公众号内下单成本。广告花费/广告产生的下单行为数量。接入转化跟踪后可统计(公众号接入暂未全量开放) 。
|
|
@@ -1365,61 +1367,35 @@ public class PlanStatOfHourDWD {
|
|
result.getAdIds().addAll(value1.getAdIds());
|
|
result.getAdIds().addAll(value1.getAdIds());
|
|
PlanUtil.reduceAdGroup(result.getAdGroupMap(), value1.getAdGroupMap());
|
|
PlanUtil.reduceAdGroup(result.getAdGroupMap(), value1.getAdGroupMap());
|
|
|
|
|
|
- result.setCostDeviationRateDay(value1.getCostDeviationRateDay() + value2.getCostDeviationRate());
|
|
|
|
|
|
+ result.setCostDeviationRateDay(value1.getCostDeviationRateDay().add(value2.getCostDeviationRate()));
|
|
result.setCostDay(value1.getCostDay() + value2.getCost());
|
|
result.setCostDay(value1.getCostDay() + value2.getCost());
|
|
result.setCompensationAmountDay(value1.getCompensationAmountDay() + value2.getCompensationAmount());
|
|
result.setCompensationAmountDay(value1.getCompensationAmountDay() + value2.getCompensationAmount());
|
|
result.setViewCountDay(value1.getViewCountDay() + value2.getViewCount());
|
|
result.setViewCountDay(value1.getViewCountDay() + value2.getViewCount());
|
|
- result.setThousandDisplayPriceDay(result.getViewCountDay() == 0 ? 0 : (result.getCostDay() / result.getViewCountDay() * 1000));
|
|
|
|
result.setValidClickCountDay(value1.getValidClickCountDay() + value2.getValidClickCount());
|
|
result.setValidClickCountDay(value1.getValidClickCountDay() + value2.getValidClickCount());
|
|
- result.setCtrDay(result.getViewCountDay() == 0 ? 0.0 : result.getValidClickCountDay() / result.getViewCountDay());
|
|
|
|
- result.setCpcDay(result.getValidClickCountDay() == 0 ? 0 : result.getCostDay() / result.getValidClickCountDay());
|
|
|
|
result.setValuableClickCountDay(value1.getValuableClickCountDay() + value2.getValuableClickCount());
|
|
result.setValuableClickCountDay(value1.getValuableClickCountDay() + value2.getValuableClickCount());
|
|
- result.setValuableClickRateDay(result.getViewCountDay() == 0 ? 0.0 : result.getValuableClickCountDay() / result.getViewCountDay());
|
|
|
|
- result.setValuableClickCostDay(result.getValuableClickCountDay() == 0 ? 0 : result.getCostDay() / result.getValuableClickCountDay());
|
|
|
|
result.setConversionsCountDay(value1.getConversionsCountDay() + value2.getConversionsCount());
|
|
result.setConversionsCountDay(value1.getConversionsCountDay() + value2.getConversionsCount());
|
|
- result.setConversionsCostDay(result.getConversionsCountDay() == 0 ? 0 : result.getCostDay() / result.getConversionsCountDay());
|
|
|
|
- result.setConversionsRateDay(result.getValidClickCountDay() == 0 ? 0.0 : result.getConversionsCountDay() / result.getValidClickCountDay());
|
|
|
|
result.setDeepConversionsCountDay(value1.getDeepConversionsCountDay() + value2.getDeepConversionsCount());
|
|
result.setDeepConversionsCountDay(value1.getDeepConversionsCountDay() + value2.getDeepConversionsCount());
|
|
- result.setDeepConversionsCostDay(result.getDeepConversionsCountDay() == 0 ? 0 : result.getCostDay() / result.getDeepConversionsCountDay());
|
|
|
|
- result.setDeepConversionsRateDay(result.getValuableClickCountDay() == 0 ? 0.0 : result.getDeepConversionsCountDay() / result.getValuableClickCountDay());
|
|
|
|
result.setOrderCountDay(value1.getOrderCountDay() + value2.getOrderCount());
|
|
result.setOrderCountDay(value1.getOrderCountDay() + value2.getOrderCount());
|
|
result.setFirstDayOrderCountDay(value1.getFirstDayOrderCountDay() + value2.getFirstDayOrderCount());
|
|
result.setFirstDayOrderCountDay(value1.getFirstDayOrderCountDay() + value2.getFirstDayOrderCount());
|
|
- result.setWebOrderCostDay(result.getOrderCountDay() == 0 ? 0 : result.getCostDay() / result.getOrderCountDay());
|
|
|
|
- result.setOrderRateDay(result.getValidClickCountDay() == 0 ? 0.0 : result.getOrderCountDay() / result.getValidClickCountDay());
|
|
|
|
result.setOrderAmountDay(value1.getOrderAmountDay() + value2.getOrderAmount());
|
|
result.setOrderAmountDay(value1.getOrderAmountDay() + value2.getOrderAmount());
|
|
result.setFirstDayOrderAmountDay(value1.getFirstDayOrderAmountDay() + value2.getFirstDayOrderAmount());
|
|
result.setFirstDayOrderAmountDay(value1.getFirstDayOrderAmountDay() + value2.getFirstDayOrderAmount());
|
|
- result.setOrderUnitPriceDay(result.getOrderCountDay() == 0 ? 0 : result.getOrderAmountDay() / result.getOrderCountDay());
|
|
|
|
- result.setOrderRoiDay(result.getCostDay() == 0 ? 0.0 : result.getOrderAmountDay() / result.getCostDay());
|
|
|
|
result.setSignInCountDay(value1.getSignInCountDay() + value2.getSignInCount());
|
|
result.setSignInCountDay(value1.getSignInCountDay() + value2.getSignInCount());
|
|
result.setScanFollowCountDay(value1.getScanFollowCountDay() + value2.getScanFollowCount());
|
|
result.setScanFollowCountDay(value1.getScanFollowCountDay() + value2.getScanFollowCount());
|
|
result.setWechatAppRegisterUvDay(value1.getWechatAppRegisterUvDay() + value2.getWechatAppRegisterUv());
|
|
result.setWechatAppRegisterUvDay(value1.getWechatAppRegisterUvDay() + value2.getWechatAppRegisterUv());
|
|
- result.setWechatMinigameRegisterCostDay(result.getWechatAppRegisterUvDay() == 0 ? 0 : result.getCostDay() / result.getWechatAppRegisterUvDay());
|
|
|
|
- result.setWechatMinigameRegisterRateDay(result.getValidClickCountDay() == 0 ? 0.0 : result.getWechatAppRegisterUvDay() / result.getValidClickCountDay());
|
|
|
|
- result.setWechatMinigameArpuDay(result.getWechatAppRegisterUvDay() == 0 ? 0.0 : result.getOrderAmountDay() / result.getWechatAppRegisterUvDay());
|
|
|
|
result.setWechatMinigameRetentionCountDay(value1.getWechatMinigameRetentionCountDay() + value2.getWechatMinigameRetentionCount());
|
|
result.setWechatMinigameRetentionCountDay(value1.getWechatMinigameRetentionCountDay() + value2.getWechatMinigameRetentionCount());
|
|
result.setWechatMinigameCheckoutCountDay(value1.getWechatMinigameCheckoutCountDay() + value2.getWechatMinigameCheckoutCount());
|
|
result.setWechatMinigameCheckoutCountDay(value1.getWechatMinigameCheckoutCountDay() + value2.getWechatMinigameCheckoutCount());
|
|
result.setWechatMinigameCheckoutAmountDay(value1.getWechatMinigameCheckoutAmountDay() + value2.getWechatMinigameCheckoutAmount());
|
|
result.setWechatMinigameCheckoutAmountDay(value1.getWechatMinigameCheckoutAmountDay() + value2.getWechatMinigameCheckoutAmount());
|
|
result.setOfficialAccountFollowCountDay(value1.getOfficialAccountFollowCountDay() + value2.getOfficialAccountFollowCount());
|
|
result.setOfficialAccountFollowCountDay(value1.getOfficialAccountFollowCountDay() + value2.getOfficialAccountFollowCount());
|
|
- result.setOfficialAccountFollowRateDay(result.getValidClickCountDay() == 0 ? 0.0 : result.getOfficialAccountFollowCountDay() / result.getValidClickCountDay());
|
|
|
|
result.setOfficialAccountRegisterUserCountDay(value1.getOfficialAccountRegisterUserCountDay() + value2.getOfficialAccountRegisterUserCount());
|
|
result.setOfficialAccountRegisterUserCountDay(value1.getOfficialAccountRegisterUserCountDay() + value2.getOfficialAccountRegisterUserCount());
|
|
- result.setOfficialAccountRegisterRateDay(result.getOfficialAccountFollowCountDay() == 0 ? 0.0 : result.getOfficialAccountRegisterUserCountDay() / result.getOfficialAccountFollowCountDay());
|
|
|
|
- result.setOfficialAccountRegisterCostDay(result.getOfficialAccountRegisterUserCountDay() == 0 ? 0 : result.getCostDay() / result.getOfficialAccountRegisterUserCountDay());
|
|
|
|
result.setOfficialAccountRegisterAmountDay(value1.getOfficialAccountRegisterAmountDay() + value2.getOfficialAccountRegisterAmount());
|
|
result.setOfficialAccountRegisterAmountDay(value1.getOfficialAccountRegisterAmountDay() + value2.getOfficialAccountRegisterAmount());
|
|
- result.setOfficialAccountRegisterRoiDay(result.getCostDay() == 0 ? 0 : result.getOfficialAccountRegisterAmountDay() / result.getCostDay());
|
|
|
|
result.setOfficialAccountApplyCountDay(value1.getOfficialAccountApplyCountDay() + value2.getOfficialAccountApplyCount());
|
|
result.setOfficialAccountApplyCountDay(value1.getOfficialAccountApplyCountDay() + value2.getOfficialAccountApplyCount());
|
|
result.setOfficialAccountApplyUserCountDay(value1.getOfficialAccountApplyUserCountDay() + value2.getOfficialAccountApplyUserCount());
|
|
result.setOfficialAccountApplyUserCountDay(value1.getOfficialAccountApplyUserCountDay() + value2.getOfficialAccountApplyUserCount());
|
|
- result.setOfficialAccountApplyRateDay(result.getOfficialAccountFollowCountDay() == 0 ? 0.0 : result.getOfficialAccountApplyUserCountDay() / result.getOfficialAccountFollowCountDay());
|
|
|
|
- result.setOfficialAccountApplyCostDay(result.getOfficialAccountApplyUserCountDay() == 0 ? 0 : result.getCostDay() / result.getOfficialAccountApplyUserCountDay());
|
|
|
|
result.setOfficialAccountApplyAmountDay(value1.getOfficialAccountApplyAmountDay() + value2.getOfficialAccountApplyAmount());
|
|
result.setOfficialAccountApplyAmountDay(value1.getOfficialAccountApplyAmountDay() + value2.getOfficialAccountApplyAmount());
|
|
- result.setOfficialAccountApplyRoiDay(result.getCostDay() == 0 ? 0 : result.getOfficialAccountApplyAmountDay() / result.getCostDay());
|
|
|
|
result.setOfficialAccountOrderCountDay(value1.getOfficialAccountOrderCountDay() + value2.getOfficialAccountOrderCount());
|
|
result.setOfficialAccountOrderCountDay(value1.getOfficialAccountOrderCountDay() + value2.getOfficialAccountOrderCount());
|
|
result.setOfficialAccountFirstDayOrderCountDay(value1.getOfficialAccountFirstDayOrderCountDay() + value2.getOfficialAccountFirstDayOrderCount());
|
|
result.setOfficialAccountFirstDayOrderCountDay(value1.getOfficialAccountFirstDayOrderCountDay() + value2.getOfficialAccountFirstDayOrderCount());
|
|
result.setOfficialAccountOrderUserCountDay(value1.getOfficialAccountOrderUserCountDay() + value2.getOfficialAccountOrderUserCount());
|
|
result.setOfficialAccountOrderUserCountDay(value1.getOfficialAccountOrderUserCountDay() + value2.getOfficialAccountOrderUserCount());
|
|
- result.setOfficialAccountOrderRateDay(result.getOfficialAccountFollowCountDay() == 0 ? 0.0 : result.getOfficialAccountOrderUserCountDay() / result.getOfficialAccountFollowCountDay());
|
|
|
|
- result.setOfficialAccountOrderCostDay(result.getOfficialAccountOrderCountDay() == 0 ? 0 : result.getCostDay() / result.getOfficialAccountOrderCountDay());
|
|
|
|
result.setOfficialAccountOrderAmountDay(value1.getOfficialAccountOrderAmountDay() + value2.getOfficialAccountOrderAmount());
|
|
result.setOfficialAccountOrderAmountDay(value1.getOfficialAccountOrderAmountDay() + value2.getOfficialAccountOrderAmount());
|
|
result.setOfficialAccountFirstDayOrderAmountDay(value1.getOfficialAccountFirstDayOrderAmountDay() + value2.getOfficialAccountFirstDayOrderAmount());
|
|
result.setOfficialAccountFirstDayOrderAmountDay(value1.getOfficialAccountFirstDayOrderAmountDay() + value2.getOfficialAccountFirstDayOrderAmount());
|
|
- result.setOfficialAccountOrderRoiDay(result.getCostDay() == 0 ? 0 : result.getOfficialAccountOrderAmountDay() / result.getCostDay());
|
|
|
|
result.setOfficialAccountConsultCountDay(value1.getOfficialAccountConsultCountDay() + value2.getOfficialAccountConsultCount());
|
|
result.setOfficialAccountConsultCountDay(value1.getOfficialAccountConsultCountDay() + value2.getOfficialAccountConsultCount());
|
|
result.setOfficialAccountReaderCountDay(value1.getOfficialAccountReaderCountDay() + value2.getOfficialAccountReaderCount());
|
|
result.setOfficialAccountReaderCountDay(value1.getOfficialAccountReaderCountDay() + value2.getOfficialAccountReaderCount());
|
|
result.setOfficialAccountCreditApplyUserCountDay(value1.getOfficialAccountCreditApplyUserCountDay() + value2.getOfficialAccountCreditApplyUserCount());
|
|
result.setOfficialAccountCreditApplyUserCountDay(value1.getOfficialAccountCreditApplyUserCountDay() + value2.getOfficialAccountCreditApplyUserCount());
|
|
@@ -1427,6 +1403,33 @@ public class PlanStatOfHourDWD {
|
|
result.setForwardCountDay(value1.getForwardCountDay() + value2.getForwardCount());
|
|
result.setForwardCountDay(value1.getForwardCountDay() + value2.getForwardCount());
|
|
result.setForwardUserCountDay(value1.getForwardUserCountDay() + value2.getForwardUserCount());
|
|
result.setForwardUserCountDay(value1.getForwardUserCountDay() + value2.getForwardUserCount());
|
|
result.setNoInterestCountDay(value1.getNoInterestCountDay() + value2.getNoInterestCount());
|
|
result.setNoInterestCountDay(value1.getNoInterestCountDay() + value2.getNoInterestCount());
|
|
|
|
+
|
|
|
|
+ result.setThousandDisplayPriceDay(result.getViewCountDay() == 0 ? 0 : NumberUtil.divideForAd(result.getCostDay(), result.getViewCountDay()).multiply(new BigDecimal(1000)).longValue());
|
|
|
|
+ result.setCtrDay(result.getViewCountDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getValidClickCountDay(), result.getViewCountDay()));
|
|
|
|
+ result.setCpcDay(result.getValidClickCountDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostDay(), result.getValidClickCountDay()));
|
|
|
|
+ result.setValuableClickRateDay(result.getViewCountDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getValuableClickCountDay(), result.getViewCountDay()));
|
|
|
|
+ result.setValuableClickCostDay(result.getValuableClickCountDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostDay(), result.getValuableClickCountDay()));
|
|
|
|
+ result.setConversionsCostDay(result.getConversionsCountDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostDay(), result.getConversionsCountDay()));
|
|
|
|
+ result.setConversionsRateDay(result.getValidClickCountDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getConversionsCountDay(), result.getValidClickCountDay()));
|
|
|
|
+ result.setDeepConversionsCostDay(result.getDeepConversionsCountDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostDay(), result.getDeepConversionsCountDay()));
|
|
|
|
+ result.setDeepConversionsRateDay(result.getValuableClickCountDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getDeepConversionsCountDay(), result.getValuableClickCountDay()));
|
|
|
|
+ result.setWebOrderCostDay(result.getOrderCountDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostDay(), result.getOrderCountDay()));
|
|
|
|
+ result.setOrderRateDay(result.getValidClickCountDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOrderCountDay(), result.getValidClickCountDay()));
|
|
|
|
+ result.setOrderUnitPriceDay(result.getOrderCountDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getOrderAmountDay(), result.getOrderCountDay()));
|
|
|
|
+ result.setOrderRoiDay(result.getCostDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOrderAmountDay(), result.getCostDay()));
|
|
|
|
+ result.setWechatMinigameRegisterCostDay(result.getWechatAppRegisterUvDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostDay(), result.getWechatAppRegisterUvDay()));
|
|
|
|
+ result.setWechatMinigameRegisterRateDay(result.getValidClickCountDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getWechatAppRegisterUvDay(), result.getValidClickCountDay()));
|
|
|
|
+ result.setWechatMinigameArpuDay(result.getWechatAppRegisterUvDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOrderAmountDay(), result.getWechatAppRegisterUvDay()));
|
|
|
|
+ result.setOfficialAccountFollowRateDay(result.getValidClickCountDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOfficialAccountFollowCountDay(), result.getValidClickCountDay()));
|
|
|
|
+ result.setOfficialAccountRegisterRateDay(result.getOfficialAccountFollowCountDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOfficialAccountRegisterUserCountDay(), result.getOfficialAccountFollowCountDay()));
|
|
|
|
+ result.setOfficialAccountRegisterCostDay(result.getOfficialAccountRegisterUserCountDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostDay(), result.getOfficialAccountRegisterUserCountDay()));
|
|
|
|
+ result.setOfficialAccountRegisterRoiDay(result.getCostDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getOfficialAccountRegisterAmountDay(), result.getCostDay()));
|
|
|
|
+ result.setOfficialAccountApplyRateDay(result.getOfficialAccountFollowCountDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOfficialAccountApplyUserCountDay(), result.getOfficialAccountFollowCountDay()));
|
|
|
|
+ result.setOfficialAccountApplyCostDay(result.getOfficialAccountApplyUserCountDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostDay(), result.getOfficialAccountApplyUserCountDay()));
|
|
|
|
+ result.setOfficialAccountApplyRoiDay(result.getCostDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getOfficialAccountApplyAmountDay(), result.getCostDay()));
|
|
|
|
+ result.setOfficialAccountOrderRateDay(result.getOfficialAccountFollowCountDay() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOfficialAccountOrderUserCountDay(), result.getOfficialAccountFollowCountDay()));
|
|
|
|
+ result.setOfficialAccountOrderCostDay(result.getOfficialAccountOrderCountDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostDay(), result.getOfficialAccountOrderCountDay()));
|
|
|
|
+ result.setOfficialAccountOrderRoiDay(result.getCostDay() == 0 ? 0 : NumberUtil.divideForMoney(result.getOfficialAccountOrderAmountDay(), result.getCostDay()));
|
|
}
|
|
}
|
|
if (yesterdayDWD == null) {
|
|
if (yesterdayDWD == null) {
|
|
result.setCostDeviationRateTotal(result.getCostDeviationRateDay());
|
|
result.setCostDeviationRateTotal(result.getCostDeviationRateDay());
|
|
@@ -1495,88 +1498,36 @@ public class PlanStatOfHourDWD {
|
|
result.getAdIds().addAll(yesterdayDWD.getAdIds());
|
|
result.getAdIds().addAll(yesterdayDWD.getAdIds());
|
|
PlanUtil.reduceAdGroup(result.getAdGroupMap(), yesterdayDWD.getAdGroupMap());
|
|
PlanUtil.reduceAdGroup(result.getAdGroupMap(), yesterdayDWD.getAdGroupMap());
|
|
|
|
|
|
- result.setCostDeviationRateTotal(yesterdayDWD.getCostDeviationRateTotal() + result.getCostDeviationRateDay());
|
|
|
|
|
|
+ result.setCostDeviationRateTotal(yesterdayDWD.getCostDeviationRateTotal().add(result.getCostDeviationRateDay()));
|
|
result.setCostTotal(yesterdayDWD.getCostTotal() + result.getCostDay());
|
|
result.setCostTotal(yesterdayDWD.getCostTotal() + result.getCostDay());
|
|
result.setCompensationAmountTotal(yesterdayDWD.getCompensationAmountTotal() + result.getCompensationAmountDay());
|
|
result.setCompensationAmountTotal(yesterdayDWD.getCompensationAmountTotal() + result.getCompensationAmountDay());
|
|
result.setViewCountTotal(yesterdayDWD.getViewCountTotal() + result.getViewCountDay());
|
|
result.setViewCountTotal(yesterdayDWD.getViewCountTotal() + result.getViewCountDay());
|
|
- // 总消耗 / 总曝光
|
|
|
|
- result.setThousandDisplayPriceAll(result.getViewCountTotal() == 0 ? 0 : (result.getCostTotal() / result.getViewCountTotal() * 1000));
|
|
|
|
// 曝光次数 / 曝光人数(拿不到曝光人数)
|
|
// 曝光次数 / 曝光人数(拿不到曝光人数)
|
|
result.setValidClickCountTotal(yesterdayDWD.getValidClickCountTotal() + result.getValidClickCountDay());
|
|
result.setValidClickCountTotal(yesterdayDWD.getValidClickCountTotal() + result.getValidClickCountDay());
|
|
- // 广告点击次数 / 广告曝光次数
|
|
|
|
- result.setCtrAll(result.getViewCountTotal() == 0 ? 0.0 : result.getValidClickCountTotal() / result.getViewCountTotal());
|
|
|
|
- // 广告花费/广告点击次数
|
|
|
|
- result.setCpcAll(result.getValidClickCountTotal() == 0 ? 0 : result.getCostTotal() / result.getValidClickCountTotal());
|
|
|
|
result.setValuableClickCountTotal(yesterdayDWD.getValuableClickCountTotal() + result.getValuableClickCountDay());
|
|
result.setValuableClickCountTotal(yesterdayDWD.getValuableClickCountTotal() + result.getValuableClickCountDay());
|
|
- // 广告可转化点击次数/广告曝光次数
|
|
|
|
- result.setValuableClickRateAll(result.getViewCountTotal() == 0 ? 0.0 : result.getValuableClickCountTotal() / result.getViewCountTotal());
|
|
|
|
- // 广告花费/可转化点击次数
|
|
|
|
- result.setValuableClickCostAll(result.getValuableClickCountTotal() == 0 ? 0 : result.getCostTotal() / result.getValuableClickCountTotal());
|
|
|
|
result.setConversionsCountTotal(yesterdayDWD.getConversionsCountTotal() + result.getConversionsCountDay());
|
|
result.setConversionsCountTotal(yesterdayDWD.getConversionsCountTotal() + result.getConversionsCountDay());
|
|
- // 广告花费/转化目标量
|
|
|
|
- result.setConversionsCostAll(result.getConversionsCountTotal() == 0 ? 0 : result.getCostTotal() / result.getConversionsCountTotal());
|
|
|
|
- // 公众号:转化目标量/点击次数。
|
|
|
|
- result.setConversionsRateAll(result.getValidClickCountTotal() == 0 ? 0.0 : result.getConversionsCountTotal() / result.getValidClickCountTotal());
|
|
|
|
result.setDeepConversionsCountTotal(yesterdayDWD.getDeepConversionsCountTotal() + result.getDeepConversionsCountDay());
|
|
result.setDeepConversionsCountTotal(yesterdayDWD.getDeepConversionsCountTotal() + result.getDeepConversionsCountDay());
|
|
- // 广告花费/深度转化目标量
|
|
|
|
- result.setDeepConversionsCostAll(result.getDeepConversionsCountTotal() == 0 ? 0 : result.getCostTotal() / result.getDeepConversionsCountTotal());
|
|
|
|
- // 深度转化目标量/可转化点击次数
|
|
|
|
- result.setDeepConversionsRateAll(result.getValuableClickCountTotal() == 0 ? 0.0 : result.getDeepConversionsCountTotal() / result.getValuableClickCountTotal());
|
|
|
|
result.setOrderCountTotal(yesterdayDWD.getOrderCountTotal() + result.getOrderCountDay());
|
|
result.setOrderCountTotal(yesterdayDWD.getOrderCountTotal() + result.getOrderCountDay());
|
|
result.setFirstDayOrderCountTotal(yesterdayDWD.getFirstDayOrderCountTotal() + result.getFirstDayOrderCountDay());
|
|
result.setFirstDayOrderCountTotal(yesterdayDWD.getFirstDayOrderCountTotal() + result.getFirstDayOrderCountDay());
|
|
- // 广告花费/下单量
|
|
|
|
- result.setWebOrderCostAll(result.getOrderCountTotal() == 0 ? 0 : result.getCostTotal() / result.getOrderCountTotal());
|
|
|
|
- // 下单量/点击次数
|
|
|
|
- result.setOrderRateAll(result.getValidClickCountTotal() == 0 ? 0.0 : result.getOrderCountTotal() / result.getValidClickCountTotal());
|
|
|
|
result.setOrderAmountTotal(yesterdayDWD.getOrderAmountTotal() + result.getOrderAmountDay());
|
|
result.setOrderAmountTotal(yesterdayDWD.getOrderAmountTotal() + result.getOrderAmountDay());
|
|
result.setFirstDayOrderAmountTotal(yesterdayDWD.getFirstDayOrderAmountTotal() + result.getFirstDayOrderAmountDay());
|
|
result.setFirstDayOrderAmountTotal(yesterdayDWD.getFirstDayOrderAmountTotal() + result.getFirstDayOrderAmountDay());
|
|
- // 下单金额/下单量
|
|
|
|
- result.setOrderUnitPriceAll(result.getOrderCountTotal() == 0 ? 0 : result.getOrderAmountTotal() / result.getOrderCountTotal());
|
|
|
|
- // 下单金额/广告花费
|
|
|
|
- result.setOrderRoiAll(result.getCostTotal() == 0 ? 0.0 : result.getOrderAmountTotal() / result.getCostTotal());
|
|
|
|
result.setSignInCountTotal(yesterdayDWD.getSignInCountTotal() + result.getSignInCountDay());
|
|
result.setSignInCountTotal(yesterdayDWD.getSignInCountTotal() + result.getSignInCountDay());
|
|
result.setScanFollowCountTotal(yesterdayDWD.getScanFollowCountTotal() + result.getScanFollowCountDay());
|
|
result.setScanFollowCountTotal(yesterdayDWD.getScanFollowCountTotal() + result.getScanFollowCountDay());
|
|
result.setWechatAppRegisterUvTotal(yesterdayDWD.getWechatAppRegisterUvTotal() + result.getWechatAppRegisterUvDay());
|
|
result.setWechatAppRegisterUvTotal(yesterdayDWD.getWechatAppRegisterUvTotal() + result.getWechatAppRegisterUvDay());
|
|
- // 广告消耗 / 小游戏注册人数
|
|
|
|
- result.setWechatMinigameRegisterCostAll(result.getWechatAppRegisterUvTotal() == 0 ? 0 : result.getCostTotal() / result.getWechatAppRegisterUvTotal());
|
|
|
|
- // 小游戏注册人数 / 广告点击次数
|
|
|
|
- result.setWechatMinigameRegisterRateAll(result.getValidClickCountTotal() == 0 ? 0.0 : result.getWechatAppRegisterUvTotal() / result.getValidClickCountTotal());
|
|
|
|
- // 总收益 / 总人数
|
|
|
|
- result.setWechatMinigameArpuAll(result.getWechatAppRegisterUvTotal() == 0 ? 0.0 : result.getOrderAmountTotal() / result.getWechatAppRegisterUvTotal());
|
|
|
|
result.setWechatMinigameRetentionCountTotal(yesterdayDWD.getWechatMinigameRetentionCountTotal() + result.getWechatMinigameRetentionCountDay());
|
|
result.setWechatMinigameRetentionCountTotal(yesterdayDWD.getWechatMinigameRetentionCountTotal() + result.getWechatMinigameRetentionCountDay());
|
|
result.setWechatMinigameCheckoutCountTotal(yesterdayDWD.getWechatMinigameCheckoutCountTotal() + result.getWechatMinigameCheckoutCountDay());
|
|
result.setWechatMinigameCheckoutCountTotal(yesterdayDWD.getWechatMinigameCheckoutCountTotal() + result.getWechatMinigameCheckoutCountDay());
|
|
result.setWechatMinigameCheckoutAmountTotal(yesterdayDWD.getWechatMinigameCheckoutAmountTotal() + result.getWechatMinigameCheckoutAmountDay());
|
|
result.setWechatMinigameCheckoutAmountTotal(yesterdayDWD.getWechatMinigameCheckoutAmountTotal() + result.getWechatMinigameCheckoutAmountDay());
|
|
result.setOfficialAccountFollowCountTotal(yesterdayDWD.getOfficialAccountFollowCountTotal() + result.getOfficialAccountFollowCountDay());
|
|
result.setOfficialAccountFollowCountTotal(yesterdayDWD.getOfficialAccountFollowCountTotal() + result.getOfficialAccountFollowCountDay());
|
|
- // 关注次数 / 点击次数
|
|
|
|
- result.setOfficialAccountFollowRateAll(result.getValidClickCountTotal() == 0 ? 0.0 : result.getOfficialAccountFollowCountTotal() / result.getValidClickCountTotal());
|
|
|
|
result.setOfficialAccountRegisterUserCountTotal(yesterdayDWD.getOfficialAccountRegisterUserCountTotal() + result.getOfficialAccountRegisterUserCountDay());
|
|
result.setOfficialAccountRegisterUserCountTotal(yesterdayDWD.getOfficialAccountRegisterUserCountTotal() + result.getOfficialAccountRegisterUserCountDay());
|
|
- // 公众号内注册人数 / 公众号关注次数
|
|
|
|
- result.setOfficialAccountRegisterRateAll(result.getOfficialAccountFollowCountTotal() == 0 ? 0.0 : result.getOfficialAccountRegisterUserCountTotal() / result.getOfficialAccountFollowCountTotal());
|
|
|
|
- // 广告消耗 / 广告注册人数
|
|
|
|
- result.setOfficialAccountRegisterCostAll(result.getOfficialAccountRegisterUserCountTotal() == 0 ? 0 : result.getCostTotal() / result.getOfficialAccountRegisterUserCountTotal());
|
|
|
|
result.setOfficialAccountRegisterAmountTotal(yesterdayDWD.getOfficialAccountRegisterAmountTotal() + result.getOfficialAccountRegisterAmountDay());
|
|
result.setOfficialAccountRegisterAmountTotal(yesterdayDWD.getOfficialAccountRegisterAmountTotal() + result.getOfficialAccountRegisterAmountDay());
|
|
- // 注册产生的订单金额累计/广告花费
|
|
|
|
- result.setOfficialAccountRegisterRoiAll(result.getCostTotal() == 0 ? 0 : result.getOfficialAccountRegisterAmountTotal() / result.getCostTotal());
|
|
|
|
result.setOfficialAccountApplyCountTotal(yesterdayDWD.getOfficialAccountApplyCountTotal() + result.getOfficialAccountApplyCountDay());
|
|
result.setOfficialAccountApplyCountTotal(yesterdayDWD.getOfficialAccountApplyCountTotal() + result.getOfficialAccountApplyCountDay());
|
|
result.setOfficialAccountApplyUserCountTotal(yesterdayDWD.getOfficialAccountApplyUserCountTotal() + result.getOfficialAccountApplyUserCountDay());
|
|
result.setOfficialAccountApplyUserCountTotal(yesterdayDWD.getOfficialAccountApplyUserCountTotal() + result.getOfficialAccountApplyUserCountDay());
|
|
- // 公众号内填单的独立用户数/公众号关注次数
|
|
|
|
- result.setOfficialAccountApplyRateAll(result.getOfficialAccountFollowCountTotal() == 0 ? 0.0 : result.getOfficialAccountApplyUserCountTotal() / result.getOfficialAccountFollowCountTotal());
|
|
|
|
- // 广告花费/广告产生的填单行为数量
|
|
|
|
- result.setOfficialAccountApplyCostAll(result.getOfficialAccountApplyUserCountTotal() == 0 ? 0 : result.getCostTotal() / result.getOfficialAccountApplyUserCountTotal());
|
|
|
|
result.setOfficialAccountApplyAmountTotal(yesterdayDWD.getOfficialAccountApplyAmountTotal() + result.getOfficialAccountApplyAmountDay());
|
|
result.setOfficialAccountApplyAmountTotal(yesterdayDWD.getOfficialAccountApplyAmountTotal() + result.getOfficialAccountApplyAmountDay());
|
|
- // 填单产生的订单金额累计/广告花费
|
|
|
|
- result.setOfficialAccountApplyRoiAll(result.getCostTotal() == 0 ? 0 : result.getOfficialAccountApplyAmountTotal() / result.getCostTotal());
|
|
|
|
result.setOfficialAccountOrderCountTotal(yesterdayDWD.getOfficialAccountOrderCountTotal() + result.getOfficialAccountOrderCountDay());
|
|
result.setOfficialAccountOrderCountTotal(yesterdayDWD.getOfficialAccountOrderCountTotal() + result.getOfficialAccountOrderCountDay());
|
|
result.setOfficialAccountFirstDayOrderCountTotal(yesterdayDWD.getOfficialAccountFirstDayOrderCountTotal() + result.getOfficialAccountFirstDayOrderCountDay());
|
|
result.setOfficialAccountFirstDayOrderCountTotal(yesterdayDWD.getOfficialAccountFirstDayOrderCountTotal() + result.getOfficialAccountFirstDayOrderCountDay());
|
|
result.setOfficialAccountOrderUserCountTotal(yesterdayDWD.getOfficialAccountOrderUserCountTotal() + result.getOfficialAccountOrderUserCountDay());
|
|
result.setOfficialAccountOrderUserCountTotal(yesterdayDWD.getOfficialAccountOrderUserCountTotal() + result.getOfficialAccountOrderUserCountDay());
|
|
- // 公众号内下单独立用户数(UV)/公众号关注次数
|
|
|
|
- result.setOfficialAccountOrderRateAll(result.getOfficialAccountFollowCountTotal() == 0 ? 0.0 : result.getOfficialAccountOrderUserCountTotal() / result.getOfficialAccountFollowCountTotal());
|
|
|
|
- // 广告花费/广告产生的下单行为数量
|
|
|
|
- result.setOfficialAccountOrderCostAll(result.getOfficialAccountOrderCountTotal() == 0 ? 0 : result.getCostTotal() / result.getOfficialAccountOrderCountTotal());
|
|
|
|
result.setOfficialAccountOrderAmountTotal(yesterdayDWD.getOfficialAccountOrderAmountTotal() + result.getOfficialAccountOrderAmountDay());
|
|
result.setOfficialAccountOrderAmountTotal(yesterdayDWD.getOfficialAccountOrderAmountTotal() + result.getOfficialAccountOrderAmountDay());
|
|
result.setOfficialAccountFirstDayOrderAmountTotal(yesterdayDWD.getOfficialAccountFirstDayOrderAmountTotal() + result.getOfficialAccountFirstDayOrderAmountDay());
|
|
result.setOfficialAccountFirstDayOrderAmountTotal(yesterdayDWD.getOfficialAccountFirstDayOrderAmountTotal() + result.getOfficialAccountFirstDayOrderAmountDay());
|
|
- // 下单产生的订单金额累计/广告花费
|
|
|
|
- result.setOfficialAccountOrderRoiAll(result.getCostTotal() == 0 ? 0 : result.getOfficialAccountOrderAmountTotal() / result.getCostTotal());
|
|
|
|
result.setOfficialAccountConsultCountTotal(yesterdayDWD.getOfficialAccountConsultCountTotal() + result.getOfficialAccountConsultCountDay());
|
|
result.setOfficialAccountConsultCountTotal(yesterdayDWD.getOfficialAccountConsultCountTotal() + result.getOfficialAccountConsultCountDay());
|
|
result.setOfficialAccountReaderCountTotal(yesterdayDWD.getOfficialAccountReaderCountTotal() + result.getOfficialAccountReaderCountDay());
|
|
result.setOfficialAccountReaderCountTotal(yesterdayDWD.getOfficialAccountReaderCountTotal() + result.getOfficialAccountReaderCountDay());
|
|
result.setOfficialAccountCreditApplyUserCountTotal(yesterdayDWD.getOfficialAccountCreditApplyUserCountTotal() + result.getOfficialAccountCreditApplyUserCountDay());
|
|
result.setOfficialAccountCreditApplyUserCountTotal(yesterdayDWD.getOfficialAccountCreditApplyUserCountTotal() + result.getOfficialAccountCreditApplyUserCountDay());
|
|
@@ -1584,6 +1535,59 @@ public class PlanStatOfHourDWD {
|
|
result.setForwardCountTotal(yesterdayDWD.getForwardCountTotal() + result.getForwardCountDay());
|
|
result.setForwardCountTotal(yesterdayDWD.getForwardCountTotal() + result.getForwardCountDay());
|
|
result.setForwardUserCountTotal(yesterdayDWD.getForwardUserCountTotal() + result.getForwardUserCountDay());
|
|
result.setForwardUserCountTotal(yesterdayDWD.getForwardUserCountTotal() + result.getForwardUserCountDay());
|
|
result.setNoInterestCountTotal(yesterdayDWD.getNoInterestCountTotal() + result.getNoInterestCountDay());
|
|
result.setNoInterestCountTotal(yesterdayDWD.getNoInterestCountTotal() + result.getNoInterestCountDay());
|
|
|
|
+
|
|
|
|
+ // 总消耗 / 总曝光
|
|
|
|
+ result.setThousandDisplayPriceAll(result.getViewCountTotal() == 0 ? 0 : NumberUtil.divideForAd(result.getCostTotal(), result.getViewCountTotal()).multiply(new BigDecimal(1000)).longValue());
|
|
|
|
+ // 广告点击次数 / 广告曝光次数
|
|
|
|
+ result.setCtrAll(result.getViewCountTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getValidClickCountTotal(), result.getViewCountTotal()));
|
|
|
|
+ // 广告花费/广告点击次数
|
|
|
|
+ result.setCpcAll(result.getValidClickCountTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostTotal(), result.getValidClickCountTotal()));
|
|
|
|
+ // 广告可转化点击次数/广告曝光次数
|
|
|
|
+ result.setValuableClickRateAll(result.getViewCountTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getValuableClickCountTotal(), result.getViewCountTotal()));
|
|
|
|
+ // 广告花费/可转化点击次数
|
|
|
|
+ result.setValuableClickCostAll(result.getValuableClickCountTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostTotal(), result.getValuableClickCountTotal()));
|
|
|
|
+ // 广告花费/转化目标量
|
|
|
|
+ result.setConversionsCostAll(result.getConversionsCountTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostTotal(), result.getConversionsCountTotal()));
|
|
|
|
+ // 公众号:转化目标量/点击次数。
|
|
|
|
+ result.setConversionsRateAll(result.getValidClickCountTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getConversionsCountTotal(), result.getValidClickCountTotal()));
|
|
|
|
+ // 广告花费/深度转化目标量
|
|
|
|
+ result.setDeepConversionsCostAll(result.getDeepConversionsCountTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostTotal(), result.getDeepConversionsCountTotal()));
|
|
|
|
+ // 深度转化目标量/可转化点击次数
|
|
|
|
+ result.setDeepConversionsRateAll(result.getValuableClickCountTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getDeepConversionsCountTotal(), result.getValuableClickCountTotal()));
|
|
|
|
+ // 广告花费/下单量
|
|
|
|
+ result.setWebOrderCostAll(result.getOrderCountTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostTotal(), result.getOrderCountTotal()));
|
|
|
|
+ // 下单量/点击次数
|
|
|
|
+ result.setOrderRateAll(result.getValidClickCountTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOrderCountTotal(), result.getValidClickCountTotal()));
|
|
|
|
+ // 下单金额/下单量
|
|
|
|
+ result.setOrderUnitPriceAll(result.getOrderCountTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getOrderAmountTotal(), result.getOrderCountTotal()));
|
|
|
|
+ // 下单金额/广告花费
|
|
|
|
+ result.setOrderRoiAll(result.getCostTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOrderAmountTotal(), result.getCostTotal()));
|
|
|
|
+ // 广告消耗 / 小游戏注册人数
|
|
|
|
+ result.setWechatMinigameRegisterCostAll(result.getWechatAppRegisterUvTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostTotal(), result.getWechatAppRegisterUvTotal()));
|
|
|
|
+ // 小游戏注册人数 / 广告点击次数
|
|
|
|
+ result.setWechatMinigameRegisterRateAll(result.getValidClickCountTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getWechatAppRegisterUvTotal(), result.getValidClickCountTotal()));
|
|
|
|
+ // 总收益 / 总人数
|
|
|
|
+ result.setWechatMinigameArpuAll(result.getWechatAppRegisterUvTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOrderAmountTotal(), result.getWechatAppRegisterUvTotal()));
|
|
|
|
+ // 关注次数 / 点击次数
|
|
|
|
+ result.setOfficialAccountFollowRateAll(result.getValidClickCountTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOfficialAccountFollowCountTotal(), result.getValidClickCountTotal()));
|
|
|
|
+ // 公众号内注册人数 / 公众号关注次数
|
|
|
|
+ result.setOfficialAccountRegisterRateAll(result.getOfficialAccountFollowCountTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOfficialAccountRegisterUserCountTotal(), result.getOfficialAccountFollowCountTotal()));
|
|
|
|
+ // 广告消耗 / 广告注册人数
|
|
|
|
+ result.setOfficialAccountRegisterCostAll(result.getOfficialAccountRegisterUserCountTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostTotal(), result.getOfficialAccountRegisterUserCountTotal()));
|
|
|
|
+ // 注册产生的订单金额累计/广告花费
|
|
|
|
+ result.setOfficialAccountRegisterRoiAll(result.getCostTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getOfficialAccountRegisterAmountTotal(), result.getCostTotal()));
|
|
|
|
+ // 公众号内填单的独立用户数/公众号关注次数
|
|
|
|
+ result.setOfficialAccountApplyRateAll(result.getOfficialAccountFollowCountTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOfficialAccountApplyUserCountTotal(), result.getOfficialAccountFollowCountTotal()));
|
|
|
|
+ // 广告花费/广告产生的填单行为数量
|
|
|
|
+ result.setOfficialAccountApplyCostAll(result.getOfficialAccountApplyUserCountTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostTotal(), result.getOfficialAccountApplyUserCountTotal()));
|
|
|
|
+ // 填单产生的订单金额累计/广告花费
|
|
|
|
+ result.setOfficialAccountApplyRoiAll(result.getCostTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getOfficialAccountApplyAmountTotal(), result.getCostTotal()));
|
|
|
|
+ // 公众号内下单独立用户数(UV)/公众号关注次数
|
|
|
|
+ result.setOfficialAccountOrderRateAll(result.getOfficialAccountFollowCountTotal() == 0 ? BigDecimal.ZERO : NumberUtil.divideForAd(result.getOfficialAccountOrderUserCountTotal(), result.getOfficialAccountFollowCountTotal()));
|
|
|
|
+ // 广告花费/广告产生的下单行为数量
|
|
|
|
+ result.setOfficialAccountOrderCostAll(result.getOfficialAccountOrderCountTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getCostTotal(), result.getOfficialAccountOrderCountTotal()));
|
|
|
|
+ // 下单产生的订单金额累计/广告花费
|
|
|
|
+ result.setOfficialAccountOrderRoiAll(result.getCostTotal() == 0 ? 0 : NumberUtil.divideForMoney(result.getOfficialAccountOrderAmountTotal(), result.getCostTotal()));
|
|
}
|
|
}
|
|
result.setAdGroupMapStr(PlanUtil.adGroupMapStr(adGroupMap));
|
|
result.setAdGroupMapStr(PlanUtil.adGroupMapStr(adGroupMap));
|
|
result.setAdIdsStr(PlanUtil.adIdsStr(value2.getAdId()));
|
|
result.setAdIdsStr(PlanUtil.adIdsStr(value2.getAdId()));
|
|
@@ -1606,9 +1610,9 @@ public class PlanStatOfHourDWD {
|
|
result.setAdIds(PlanUtil.parseAdStr(result.getAdIdsStr()));
|
|
result.setAdIds(PlanUtil.parseAdStr(result.getAdIdsStr()));
|
|
|
|
|
|
result.setCreateTime(ObjectUtil.toDate(record.get("create_time")));
|
|
result.setCreateTime(ObjectUtil.toDate(record.get("create_time")));
|
|
- result.setCostDeviationRateTotal(ObjectUtil.toDouble(record.get("cost_deviation_rate_total")));
|
|
|
|
- result.setCostDeviationRateDay(ObjectUtil.toDouble(record.get("cost_deviation_rate_day")));
|
|
|
|
- result.setCostDeviationRateHour(ObjectUtil.toDouble(record.get("cost_deviation_rate_hour")));
|
|
|
|
|
|
+ result.setCostDeviationRateTotal(ObjectUtil.toDecimal(record.get("cost_deviation_rate_total")));
|
|
|
|
+ result.setCostDeviationRateDay(ObjectUtil.toDecimal(record.get("cost_deviation_rate_day")));
|
|
|
|
+ result.setCostDeviationRateHour(ObjectUtil.toDecimal(record.get("cost_deviation_rate_hour")));
|
|
result.setCostTotal(ObjectUtil.toLong(record.get("cost_total")));
|
|
result.setCostTotal(ObjectUtil.toLong(record.get("cost_total")));
|
|
result.setCostDay(ObjectUtil.toLong(record.get("cost_day")));
|
|
result.setCostDay(ObjectUtil.toLong(record.get("cost_day")));
|
|
result.setCostHour(ObjectUtil.toLong(record.get("cost_hour")));
|
|
result.setCostHour(ObjectUtil.toLong(record.get("cost_hour")));
|
|
@@ -1621,22 +1625,22 @@ public class PlanStatOfHourDWD {
|
|
result.setThousandDisplayPriceAll(ObjectUtil.toLong(record.get("thousand_display_price_all")));
|
|
result.setThousandDisplayPriceAll(ObjectUtil.toLong(record.get("thousand_display_price_all")));
|
|
result.setThousandDisplayPriceDay(ObjectUtil.toLong(record.get("thousand_display_price_day")));
|
|
result.setThousandDisplayPriceDay(ObjectUtil.toLong(record.get("thousand_display_price_day")));
|
|
result.setThousandDisplayPriceHour(ObjectUtil.toLong(record.get("thousand_display_price_hour")));
|
|
result.setThousandDisplayPriceHour(ObjectUtil.toLong(record.get("thousand_display_price_hour")));
|
|
- result.setAvgViewPerUserHour(ObjectUtil.toDouble(record.get("avg_view_per_user_hour")));
|
|
|
|
|
|
+ result.setAvgViewPerUserHour(ObjectUtil.toDecimal(record.get("avg_view_per_user_hour")));
|
|
result.setValidClickCountTotal(ObjectUtil.toLong(record.get("valid_click_count_total")));
|
|
result.setValidClickCountTotal(ObjectUtil.toLong(record.get("valid_click_count_total")));
|
|
result.setValidClickCountDay(ObjectUtil.toLong(record.get("valid_click_count_day")));
|
|
result.setValidClickCountDay(ObjectUtil.toLong(record.get("valid_click_count_day")));
|
|
result.setValidClickCountHour(ObjectUtil.toLong(record.get("valid_click_count_hour")));
|
|
result.setValidClickCountHour(ObjectUtil.toLong(record.get("valid_click_count_hour")));
|
|
- result.setCtrAll(ObjectUtil.toDouble(record.get("ctr_all")));
|
|
|
|
- result.setCtrDay(ObjectUtil.toDouble(record.get("ctr_day")));
|
|
|
|
- result.setCtrHour(ObjectUtil.toDouble(record.get("ctr_hour")));
|
|
|
|
|
|
+ result.setCtrAll(ObjectUtil.toDecimal(record.get("ctr_all")));
|
|
|
|
+ result.setCtrDay(ObjectUtil.toDecimal(record.get("ctr_day")));
|
|
|
|
+ result.setCtrHour(ObjectUtil.toDecimal(record.get("ctr_hour")));
|
|
result.setCpcAll(ObjectUtil.toLong(record.get("cpc_all")));
|
|
result.setCpcAll(ObjectUtil.toLong(record.get("cpc_all")));
|
|
result.setCpcDay(ObjectUtil.toLong(record.get("cpc_day")));
|
|
result.setCpcDay(ObjectUtil.toLong(record.get("cpc_day")));
|
|
result.setCpcHour(ObjectUtil.toLong(record.get("cpc_hour")));
|
|
result.setCpcHour(ObjectUtil.toLong(record.get("cpc_hour")));
|
|
result.setValuableClickCountTotal(ObjectUtil.toLong(record.get("valuable_click_count_total")));
|
|
result.setValuableClickCountTotal(ObjectUtil.toLong(record.get("valuable_click_count_total")));
|
|
result.setValuableClickCountDay(ObjectUtil.toLong(record.get("valuable_click_count_day")));
|
|
result.setValuableClickCountDay(ObjectUtil.toLong(record.get("valuable_click_count_day")));
|
|
result.setValuableClickCountHour(ObjectUtil.toLong(record.get("valuable_click_count_hour")));
|
|
result.setValuableClickCountHour(ObjectUtil.toLong(record.get("valuable_click_count_hour")));
|
|
- result.setValuableClickRateAll(ObjectUtil.toDouble(record.get("valuable_click_rate_all")));
|
|
|
|
- result.setValuableClickRateDay(ObjectUtil.toDouble(record.get("valuable_click_rate_day")));
|
|
|
|
- result.setValuableClickRateHour(ObjectUtil.toDouble(record.get("valuable_click_rate_hour")));
|
|
|
|
|
|
+ result.setValuableClickRateAll(ObjectUtil.toDecimal(record.get("valuable_click_rate_all")));
|
|
|
|
+ result.setValuableClickRateDay(ObjectUtil.toDecimal(record.get("valuable_click_rate_day")));
|
|
|
|
+ result.setValuableClickRateHour(ObjectUtil.toDecimal(record.get("valuable_click_rate_hour")));
|
|
result.setValuableClickCostAll(ObjectUtil.toLong(record.get("valuable_click_cost_all")));
|
|
result.setValuableClickCostAll(ObjectUtil.toLong(record.get("valuable_click_cost_all")));
|
|
result.setValuableClickCostDay(ObjectUtil.toLong(record.get("valuable_click_cost_day")));
|
|
result.setValuableClickCostDay(ObjectUtil.toLong(record.get("valuable_click_cost_day")));
|
|
result.setValuableClickCostHour(ObjectUtil.toLong(record.get("valuable_click_cost_hour")));
|
|
result.setValuableClickCostHour(ObjectUtil.toLong(record.get("valuable_click_cost_hour")));
|
|
@@ -1646,18 +1650,18 @@ public class PlanStatOfHourDWD {
|
|
result.setConversionsCostAll(ObjectUtil.toLong(record.get("conversions_cost_all")));
|
|
result.setConversionsCostAll(ObjectUtil.toLong(record.get("conversions_cost_all")));
|
|
result.setConversionsCostDay(ObjectUtil.toLong(record.get("conversions_cost_day")));
|
|
result.setConversionsCostDay(ObjectUtil.toLong(record.get("conversions_cost_day")));
|
|
result.setConversionsCostHour(ObjectUtil.toLong(record.get("conversions_cost_hour")));
|
|
result.setConversionsCostHour(ObjectUtil.toLong(record.get("conversions_cost_hour")));
|
|
- result.setConversionsRateAll(ObjectUtil.toDouble(record.get("conversions_rate_all")));
|
|
|
|
- result.setConversionsRateDay(ObjectUtil.toDouble(record.get("conversions_rate_day")));
|
|
|
|
- result.setConversionsRateHour(ObjectUtil.toDouble(record.get("conversions_rate_hour")));
|
|
|
|
|
|
+ result.setConversionsRateAll(ObjectUtil.toDecimal(record.get("conversions_rate_all")));
|
|
|
|
+ result.setConversionsRateDay(ObjectUtil.toDecimal(record.get("conversions_rate_day")));
|
|
|
|
+ result.setConversionsRateHour(ObjectUtil.toDecimal(record.get("conversions_rate_hour")));
|
|
result.setDeepConversionsCountTotal(ObjectUtil.toLong(record.get("deep_conversions_count_total")));
|
|
result.setDeepConversionsCountTotal(ObjectUtil.toLong(record.get("deep_conversions_count_total")));
|
|
result.setDeepConversionsCountDay(ObjectUtil.toLong(record.get("deep_conversions_count_day")));
|
|
result.setDeepConversionsCountDay(ObjectUtil.toLong(record.get("deep_conversions_count_day")));
|
|
result.setDeepConversionsCountHour(ObjectUtil.toLong(record.get("deep_conversions_count_hour")));
|
|
result.setDeepConversionsCountHour(ObjectUtil.toLong(record.get("deep_conversions_count_hour")));
|
|
result.setDeepConversionsCostAll(ObjectUtil.toLong(record.get("deep_conversions_cost_all")));
|
|
result.setDeepConversionsCostAll(ObjectUtil.toLong(record.get("deep_conversions_cost_all")));
|
|
result.setDeepConversionsCostDay(ObjectUtil.toLong(record.get("deep_conversions_cost_day")));
|
|
result.setDeepConversionsCostDay(ObjectUtil.toLong(record.get("deep_conversions_cost_day")));
|
|
result.setDeepConversionsCostHour(ObjectUtil.toLong(record.get("deep_conversions_cost_hour")));
|
|
result.setDeepConversionsCostHour(ObjectUtil.toLong(record.get("deep_conversions_cost_hour")));
|
|
- result.setDeepConversionsRateAll(ObjectUtil.toDouble(record.get("deep_conversions_rate_all")));
|
|
|
|
- result.setDeepConversionsRateDay(ObjectUtil.toDouble(record.get("deep_conversions_rate_day")));
|
|
|
|
- result.setDeepConversionsRateHour(ObjectUtil.toDouble(record.get("deep_conversions_rate_hour")));
|
|
|
|
|
|
+ result.setDeepConversionsRateAll(ObjectUtil.toDecimal(record.get("deep_conversions_rate_all")));
|
|
|
|
+ result.setDeepConversionsRateDay(ObjectUtil.toDecimal(record.get("deep_conversions_rate_day")));
|
|
|
|
+ result.setDeepConversionsRateHour(ObjectUtil.toDecimal(record.get("deep_conversions_rate_hour")));
|
|
result.setOrderCountTotal(ObjectUtil.toLong(record.get("order_count_total")));
|
|
result.setOrderCountTotal(ObjectUtil.toLong(record.get("order_count_total")));
|
|
result.setOrderCountDay(ObjectUtil.toLong(record.get("order_count_day")));
|
|
result.setOrderCountDay(ObjectUtil.toLong(record.get("order_count_day")));
|
|
result.setOrderCountHour(ObjectUtil.toLong(record.get("order_count_hour")));
|
|
result.setOrderCountHour(ObjectUtil.toLong(record.get("order_count_hour")));
|
|
@@ -1667,9 +1671,9 @@ public class PlanStatOfHourDWD {
|
|
result.setWebOrderCostAll(ObjectUtil.toLong(record.get("web_order_cost_all")));
|
|
result.setWebOrderCostAll(ObjectUtil.toLong(record.get("web_order_cost_all")));
|
|
result.setWebOrderCostDay(ObjectUtil.toLong(record.get("web_order_cost_day")));
|
|
result.setWebOrderCostDay(ObjectUtil.toLong(record.get("web_order_cost_day")));
|
|
result.setWebOrderCostHour(ObjectUtil.toLong(record.get("web_order_cost_hour")));
|
|
result.setWebOrderCostHour(ObjectUtil.toLong(record.get("web_order_cost_hour")));
|
|
- result.setOrderRateAll(ObjectUtil.toDouble(record.get("order_rate_all")));
|
|
|
|
- result.setOrderRateDay(ObjectUtil.toDouble(record.get("order_rate_day")));
|
|
|
|
- result.setOrderRateHour(ObjectUtil.toDouble(record.get("order_rate_hour")));
|
|
|
|
|
|
+ result.setOrderRateAll(ObjectUtil.toDecimal(record.get("order_rate_all")));
|
|
|
|
+ result.setOrderRateDay(ObjectUtil.toDecimal(record.get("order_rate_day")));
|
|
|
|
+ result.setOrderRateHour(ObjectUtil.toDecimal(record.get("order_rate_hour")));
|
|
result.setOrderAmountTotal(ObjectUtil.toLong(record.get("order_amount_total")));
|
|
result.setOrderAmountTotal(ObjectUtil.toLong(record.get("order_amount_total")));
|
|
result.setOrderAmountDay(ObjectUtil.toLong(record.get("order_amount_day")));
|
|
result.setOrderAmountDay(ObjectUtil.toLong(record.get("order_amount_day")));
|
|
result.setOrderAmountHour(ObjectUtil.toLong(record.get("order_amount_hour")));
|
|
result.setOrderAmountHour(ObjectUtil.toLong(record.get("order_amount_hour")));
|
|
@@ -1679,9 +1683,9 @@ public class PlanStatOfHourDWD {
|
|
result.setOrderUnitPriceAll(ObjectUtil.toLong(record.get("order_unit_price_all")));
|
|
result.setOrderUnitPriceAll(ObjectUtil.toLong(record.get("order_unit_price_all")));
|
|
result.setOrderUnitPriceDay(ObjectUtil.toLong(record.get("order_unit_price_day")));
|
|
result.setOrderUnitPriceDay(ObjectUtil.toLong(record.get("order_unit_price_day")));
|
|
result.setOrderUnitPriceHour(ObjectUtil.toLong(record.get("order_unit_price_hour")));
|
|
result.setOrderUnitPriceHour(ObjectUtil.toLong(record.get("order_unit_price_hour")));
|
|
- result.setOrderRoiAll(ObjectUtil.toDouble(record.get("order_roi_all")));
|
|
|
|
- result.setOrderRoiDay(ObjectUtil.toDouble(record.get("order_roi_day")));
|
|
|
|
- result.setOrderRoiHour(ObjectUtil.toDouble(record.get("order_roi_hour")));
|
|
|
|
|
|
+ result.setOrderRoiAll(ObjectUtil.toDecimal(record.get("order_roi_all")));
|
|
|
|
+ result.setOrderRoiDay(ObjectUtil.toDecimal(record.get("order_roi_day")));
|
|
|
|
+ result.setOrderRoiHour(ObjectUtil.toDecimal(record.get("order_roi_hour")));
|
|
result.setSignInCountTotal(ObjectUtil.toLong(record.get("sign_in_count_total")));
|
|
result.setSignInCountTotal(ObjectUtil.toLong(record.get("sign_in_count_total")));
|
|
result.setSignInCountDay(ObjectUtil.toLong(record.get("sign_in_count_day")));
|
|
result.setSignInCountDay(ObjectUtil.toLong(record.get("sign_in_count_day")));
|
|
result.setSignInCountHour(ObjectUtil.toLong(record.get("sign_in_count_hour")));
|
|
result.setSignInCountHour(ObjectUtil.toLong(record.get("sign_in_count_hour")));
|
|
@@ -1694,12 +1698,12 @@ public class PlanStatOfHourDWD {
|
|
result.setWechatMinigameRegisterCostAll(ObjectUtil.toLong(record.get("wechat_minigame_register_cost_all")));
|
|
result.setWechatMinigameRegisterCostAll(ObjectUtil.toLong(record.get("wechat_minigame_register_cost_all")));
|
|
result.setWechatMinigameRegisterCostDay(ObjectUtil.toLong(record.get("wechat_minigame_register_cost_day")));
|
|
result.setWechatMinigameRegisterCostDay(ObjectUtil.toLong(record.get("wechat_minigame_register_cost_day")));
|
|
result.setWechatMinigameRegisterCostHour(ObjectUtil.toLong(record.get("wechat_minigame_register_cost_hour")));
|
|
result.setWechatMinigameRegisterCostHour(ObjectUtil.toLong(record.get("wechat_minigame_register_cost_hour")));
|
|
- result.setWechatMinigameRegisterRateAll(ObjectUtil.toDouble(record.get("wechat_minigame_register_rate_all")));
|
|
|
|
- result.setWechatMinigameRegisterRateDay(ObjectUtil.toDouble(record.get("wechat_minigame_register_rate_day")));
|
|
|
|
- result.setWechatMinigameRegisterRateHour(ObjectUtil.toDouble(record.get("wechat_minigame_register_rate_hour")));
|
|
|
|
- result.setWechatMinigameArpuAll(ObjectUtil.toDouble(record.get("wechat_minigame_arpu_all")));
|
|
|
|
- result.setWechatMinigameArpuDay(ObjectUtil.toDouble(record.get("wechat_minigame_arpu_day")));
|
|
|
|
- result.setWechatMinigameArpuHour(ObjectUtil.toDouble(record.get("wechat_minigame_arpu_hour")));
|
|
|
|
|
|
+ result.setWechatMinigameRegisterRateAll(ObjectUtil.toDecimal(record.get("wechat_minigame_register_rate_all")));
|
|
|
|
+ result.setWechatMinigameRegisterRateDay(ObjectUtil.toDecimal(record.get("wechat_minigame_register_rate_day")));
|
|
|
|
+ result.setWechatMinigameRegisterRateHour(ObjectUtil.toDecimal(record.get("wechat_minigame_register_rate_hour")));
|
|
|
|
+ result.setWechatMinigameArpuAll(ObjectUtil.toDecimal(record.get("wechat_minigame_arpu_all")));
|
|
|
|
+ result.setWechatMinigameArpuDay(ObjectUtil.toDecimal(record.get("wechat_minigame_arpu_day")));
|
|
|
|
+ result.setWechatMinigameArpuHour(ObjectUtil.toDecimal(record.get("wechat_minigame_arpu_hour")));
|
|
result.setWechatMinigameRetentionCountTotal(ObjectUtil.toLong(record.get("wechat_minigame_retention_count_total")));
|
|
result.setWechatMinigameRetentionCountTotal(ObjectUtil.toLong(record.get("wechat_minigame_retention_count_total")));
|
|
result.setWechatMinigameRetentionCountDay(ObjectUtil.toLong(record.get("wechat_minigame_retention_count_day")));
|
|
result.setWechatMinigameRetentionCountDay(ObjectUtil.toLong(record.get("wechat_minigame_retention_count_day")));
|
|
result.setWechatMinigameRetentionCountHour(ObjectUtil.toLong(record.get("wechat_minigame_retention_count_hour")));
|
|
result.setWechatMinigameRetentionCountHour(ObjectUtil.toLong(record.get("wechat_minigame_retention_count_hour")));
|
|
@@ -1712,15 +1716,15 @@ public class PlanStatOfHourDWD {
|
|
result.setOfficialAccountFollowCountTotal(ObjectUtil.toLong(record.get("official_account_follow_count_total")));
|
|
result.setOfficialAccountFollowCountTotal(ObjectUtil.toLong(record.get("official_account_follow_count_total")));
|
|
result.setOfficialAccountFollowCountDay(ObjectUtil.toLong(record.get("official_account_follow_count_day")));
|
|
result.setOfficialAccountFollowCountDay(ObjectUtil.toLong(record.get("official_account_follow_count_day")));
|
|
result.setOfficialAccountFollowCountHour(ObjectUtil.toLong(record.get("official_account_follow_count_hour")));
|
|
result.setOfficialAccountFollowCountHour(ObjectUtil.toLong(record.get("official_account_follow_count_hour")));
|
|
- result.setOfficialAccountFollowRateAll(ObjectUtil.toDouble(record.get("official_account_follow_rate_all")));
|
|
|
|
- result.setOfficialAccountFollowRateDay(ObjectUtil.toDouble(record.get("official_account_follow_rate_day")));
|
|
|
|
- result.setOfficialAccountFollowRateHour(ObjectUtil.toDouble(record.get("official_account_follow_rate_hour")));
|
|
|
|
|
|
+ result.setOfficialAccountFollowRateAll(ObjectUtil.toDecimal(record.get("official_account_follow_rate_all")));
|
|
|
|
+ result.setOfficialAccountFollowRateDay(ObjectUtil.toDecimal(record.get("official_account_follow_rate_day")));
|
|
|
|
+ result.setOfficialAccountFollowRateHour(ObjectUtil.toDecimal(record.get("official_account_follow_rate_hour")));
|
|
result.setOfficialAccountRegisterUserCountTotal(ObjectUtil.toLong(record.get("official_account_register_user_count_total")));
|
|
result.setOfficialAccountRegisterUserCountTotal(ObjectUtil.toLong(record.get("official_account_register_user_count_total")));
|
|
result.setOfficialAccountRegisterUserCountDay(ObjectUtil.toLong(record.get("official_account_register_user_count_day")));
|
|
result.setOfficialAccountRegisterUserCountDay(ObjectUtil.toLong(record.get("official_account_register_user_count_day")));
|
|
result.setOfficialAccountRegisterUserCountHour(ObjectUtil.toLong(record.get("official_account_register_user_count_hour")));
|
|
result.setOfficialAccountRegisterUserCountHour(ObjectUtil.toLong(record.get("official_account_register_user_count_hour")));
|
|
- result.setOfficialAccountRegisterRateAll(ObjectUtil.toDouble(record.get("official_account_register_rate_all")));
|
|
|
|
- result.setOfficialAccountRegisterRateDay(ObjectUtil.toDouble(record.get("official_account_register_rate_day")));
|
|
|
|
- result.setOfficialAccountRegisterRateHour(ObjectUtil.toDouble(record.get("official_account_register_rate_hour")));
|
|
|
|
|
|
+ result.setOfficialAccountRegisterRateAll(ObjectUtil.toDecimal(record.get("official_account_register_rate_all")));
|
|
|
|
+ result.setOfficialAccountRegisterRateDay(ObjectUtil.toDecimal(record.get("official_account_register_rate_day")));
|
|
|
|
+ result.setOfficialAccountRegisterRateHour(ObjectUtil.toDecimal(record.get("official_account_register_rate_hour")));
|
|
result.setOfficialAccountRegisterCostAll(ObjectUtil.toLong(record.get("official_account_register_cost_all")));
|
|
result.setOfficialAccountRegisterCostAll(ObjectUtil.toLong(record.get("official_account_register_cost_all")));
|
|
result.setOfficialAccountRegisterCostDay(ObjectUtil.toLong(record.get("official_account_register_cost_day")));
|
|
result.setOfficialAccountRegisterCostDay(ObjectUtil.toLong(record.get("official_account_register_cost_day")));
|
|
result.setOfficialAccountRegisterCostHour(ObjectUtil.toLong(record.get("official_account_register_cost_hour")));
|
|
result.setOfficialAccountRegisterCostHour(ObjectUtil.toLong(record.get("official_account_register_cost_hour")));
|
|
@@ -1736,9 +1740,9 @@ public class PlanStatOfHourDWD {
|
|
result.setOfficialAccountApplyUserCountTotal(ObjectUtil.toLong(record.get("official_account_apply_user_count_total")));
|
|
result.setOfficialAccountApplyUserCountTotal(ObjectUtil.toLong(record.get("official_account_apply_user_count_total")));
|
|
result.setOfficialAccountApplyUserCountDay(ObjectUtil.toLong(record.get("official_account_apply_user_count_day")));
|
|
result.setOfficialAccountApplyUserCountDay(ObjectUtil.toLong(record.get("official_account_apply_user_count_day")));
|
|
result.setOfficialAccountApplyUserCountHour(ObjectUtil.toLong(record.get("official_account_apply_user_count_hour")));
|
|
result.setOfficialAccountApplyUserCountHour(ObjectUtil.toLong(record.get("official_account_apply_user_count_hour")));
|
|
- result.setOfficialAccountApplyRateAll(ObjectUtil.toDouble(record.get("official_account_apply_rate_all")));
|
|
|
|
- result.setOfficialAccountApplyRateDay(ObjectUtil.toDouble(record.get("official_account_apply_rate_day")));
|
|
|
|
- result.setOfficialAccountApplyRateHour(ObjectUtil.toDouble(record.get("official_account_apply_rate_hour")));
|
|
|
|
|
|
+ result.setOfficialAccountApplyRateAll(ObjectUtil.toDecimal(record.get("official_account_apply_rate_all")));
|
|
|
|
+ result.setOfficialAccountApplyRateDay(ObjectUtil.toDecimal(record.get("official_account_apply_rate_day")));
|
|
|
|
+ result.setOfficialAccountApplyRateHour(ObjectUtil.toDecimal(record.get("official_account_apply_rate_hour")));
|
|
result.setOfficialAccountApplyCostAll(ObjectUtil.toLong(record.get("official_account_apply_cost_all")));
|
|
result.setOfficialAccountApplyCostAll(ObjectUtil.toLong(record.get("official_account_apply_cost_all")));
|
|
result.setOfficialAccountApplyCostDay(ObjectUtil.toLong(record.get("official_account_apply_cost_day")));
|
|
result.setOfficialAccountApplyCostDay(ObjectUtil.toLong(record.get("official_account_apply_cost_day")));
|
|
result.setOfficialAccountApplyCostHour(ObjectUtil.toLong(record.get("official_account_apply_cost_hour")));
|
|
result.setOfficialAccountApplyCostHour(ObjectUtil.toLong(record.get("official_account_apply_cost_hour")));
|
|
@@ -1757,9 +1761,9 @@ public class PlanStatOfHourDWD {
|
|
result.setOfficialAccountOrderUserCountTotal(ObjectUtil.toLong(record.get("official_account_order_user_count_total")));
|
|
result.setOfficialAccountOrderUserCountTotal(ObjectUtil.toLong(record.get("official_account_order_user_count_total")));
|
|
result.setOfficialAccountOrderUserCountDay(ObjectUtil.toLong(record.get("official_account_order_user_count_day")));
|
|
result.setOfficialAccountOrderUserCountDay(ObjectUtil.toLong(record.get("official_account_order_user_count_day")));
|
|
result.setOfficialAccountOrderUserCountHour(ObjectUtil.toLong(record.get("official_account_order_user_count_hour")));
|
|
result.setOfficialAccountOrderUserCountHour(ObjectUtil.toLong(record.get("official_account_order_user_count_hour")));
|
|
- result.setOfficialAccountOrderRateAll(ObjectUtil.toDouble(record.get("official_account_order_rate_all")));
|
|
|
|
- result.setOfficialAccountOrderRateDay(ObjectUtil.toDouble(record.get("official_account_order_rate_day")));
|
|
|
|
- result.setOfficialAccountOrderRateHour(ObjectUtil.toDouble(record.get("official_account_order_rate_hour")));
|
|
|
|
|
|
+ result.setOfficialAccountOrderRateAll(ObjectUtil.toDecimal(record.get("official_account_order_rate_all")));
|
|
|
|
+ result.setOfficialAccountOrderRateDay(ObjectUtil.toDecimal(record.get("official_account_order_rate_day")));
|
|
|
|
+ result.setOfficialAccountOrderRateHour(ObjectUtil.toDecimal(record.get("official_account_order_rate_hour")));
|
|
result.setOfficialAccountOrderCostAll(ObjectUtil.toLong(record.get("official_account_order_cost_all")));
|
|
result.setOfficialAccountOrderCostAll(ObjectUtil.toLong(record.get("official_account_order_cost_all")));
|
|
result.setOfficialAccountOrderCostDay(ObjectUtil.toLong(record.get("official_account_order_cost_day")));
|
|
result.setOfficialAccountOrderCostDay(ObjectUtil.toLong(record.get("official_account_order_cost_day")));
|
|
result.setOfficialAccountOrderCostHour(ObjectUtil.toLong(record.get("official_account_order_cost_hour")));
|
|
result.setOfficialAccountOrderCostHour(ObjectUtil.toLong(record.get("official_account_order_cost_hour")));
|
|
@@ -1797,9 +1801,9 @@ public class PlanStatOfHourDWD {
|
|
}
|
|
}
|
|
|
|
|
|
public static void initValue(PlanStatOfHourDWD bean) {
|
|
public static void initValue(PlanStatOfHourDWD bean) {
|
|
- bean.setCostDeviationRateTotal(0.0);
|
|
|
|
- bean.setCostDeviationRateDay(0.0);
|
|
|
|
- bean.setCostDeviationRateHour(0.0);
|
|
|
|
|
|
+ bean.setCostDeviationRateTotal(BigDecimal.ZERO);
|
|
|
|
+ bean.setCostDeviationRateDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setCostDeviationRateHour(BigDecimal.ZERO);
|
|
bean.setCostTotal(0L);
|
|
bean.setCostTotal(0L);
|
|
bean.setCostDay(0L);
|
|
bean.setCostDay(0L);
|
|
bean.setCostHour(0L);
|
|
bean.setCostHour(0L);
|
|
@@ -1812,22 +1816,22 @@ public class PlanStatOfHourDWD {
|
|
bean.setThousandDisplayPriceAll(0L);
|
|
bean.setThousandDisplayPriceAll(0L);
|
|
bean.setThousandDisplayPriceDay(0L);
|
|
bean.setThousandDisplayPriceDay(0L);
|
|
bean.setThousandDisplayPriceHour(0L);
|
|
bean.setThousandDisplayPriceHour(0L);
|
|
- bean.setAvgViewPerUserHour(0.0);
|
|
|
|
|
|
+ bean.setAvgViewPerUserHour(BigDecimal.ZERO);
|
|
bean.setValidClickCountTotal(0L);
|
|
bean.setValidClickCountTotal(0L);
|
|
bean.setValidClickCountDay(0L);
|
|
bean.setValidClickCountDay(0L);
|
|
bean.setValidClickCountHour(0L);
|
|
bean.setValidClickCountHour(0L);
|
|
- bean.setCtrAll(0.0);
|
|
|
|
- bean.setCtrDay(0.0);
|
|
|
|
- bean.setCtrHour(0.0);
|
|
|
|
|
|
+ bean.setCtrAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setCtrDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setCtrHour(BigDecimal.ZERO);
|
|
bean.setCpcAll(0L);
|
|
bean.setCpcAll(0L);
|
|
bean.setCpcDay(0L);
|
|
bean.setCpcDay(0L);
|
|
bean.setCpcHour(0L);
|
|
bean.setCpcHour(0L);
|
|
bean.setValuableClickCountTotal(0L);
|
|
bean.setValuableClickCountTotal(0L);
|
|
bean.setValuableClickCountDay(0L);
|
|
bean.setValuableClickCountDay(0L);
|
|
bean.setValuableClickCountHour(0L);
|
|
bean.setValuableClickCountHour(0L);
|
|
- bean.setValuableClickRateAll(0.0);
|
|
|
|
- bean.setValuableClickRateDay(0.0);
|
|
|
|
- bean.setValuableClickRateHour(0.0);
|
|
|
|
|
|
+ bean.setValuableClickRateAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setValuableClickRateDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setValuableClickRateHour(BigDecimal.ZERO);
|
|
bean.setValuableClickCostAll(0L);
|
|
bean.setValuableClickCostAll(0L);
|
|
bean.setValuableClickCostDay(0L);
|
|
bean.setValuableClickCostDay(0L);
|
|
bean.setValuableClickCostHour(0L);
|
|
bean.setValuableClickCostHour(0L);
|
|
@@ -1837,18 +1841,18 @@ public class PlanStatOfHourDWD {
|
|
bean.setConversionsCostAll(0L);
|
|
bean.setConversionsCostAll(0L);
|
|
bean.setConversionsCostDay(0L);
|
|
bean.setConversionsCostDay(0L);
|
|
bean.setConversionsCostHour(0L);
|
|
bean.setConversionsCostHour(0L);
|
|
- bean.setConversionsRateAll(0.0);
|
|
|
|
- bean.setConversionsRateDay(0.0);
|
|
|
|
- bean.setConversionsRateHour(0.0);
|
|
|
|
|
|
+ bean.setConversionsRateAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setConversionsRateDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setConversionsRateHour(BigDecimal.ZERO);
|
|
bean.setDeepConversionsCountTotal(0L);
|
|
bean.setDeepConversionsCountTotal(0L);
|
|
bean.setDeepConversionsCountDay(0L);
|
|
bean.setDeepConversionsCountDay(0L);
|
|
bean.setDeepConversionsCountHour(0L);
|
|
bean.setDeepConversionsCountHour(0L);
|
|
bean.setDeepConversionsCostAll(0L);
|
|
bean.setDeepConversionsCostAll(0L);
|
|
bean.setDeepConversionsCostDay(0L);
|
|
bean.setDeepConversionsCostDay(0L);
|
|
bean.setDeepConversionsCostHour(0L);
|
|
bean.setDeepConversionsCostHour(0L);
|
|
- bean.setDeepConversionsRateAll(0.0);
|
|
|
|
- bean.setDeepConversionsRateDay(0.0);
|
|
|
|
- bean.setDeepConversionsRateHour(0.0);
|
|
|
|
|
|
+ bean.setDeepConversionsRateAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setDeepConversionsRateDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setDeepConversionsRateHour(BigDecimal.ZERO);
|
|
bean.setOrderCountTotal(0L);
|
|
bean.setOrderCountTotal(0L);
|
|
bean.setOrderCountDay(0L);
|
|
bean.setOrderCountDay(0L);
|
|
bean.setOrderCountHour(0L);
|
|
bean.setOrderCountHour(0L);
|
|
@@ -1858,9 +1862,9 @@ public class PlanStatOfHourDWD {
|
|
bean.setWebOrderCostAll(0L);
|
|
bean.setWebOrderCostAll(0L);
|
|
bean.setWebOrderCostDay(0L);
|
|
bean.setWebOrderCostDay(0L);
|
|
bean.setWebOrderCostHour(0L);
|
|
bean.setWebOrderCostHour(0L);
|
|
- bean.setOrderRateAll(0.0);
|
|
|
|
- bean.setOrderRateDay(0.0);
|
|
|
|
- bean.setOrderRateHour(0.0);
|
|
|
|
|
|
+ bean.setOrderRateAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setOrderRateDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setOrderRateHour(BigDecimal.ZERO);
|
|
bean.setOrderAmountTotal(0L);
|
|
bean.setOrderAmountTotal(0L);
|
|
bean.setOrderAmountDay(0L);
|
|
bean.setOrderAmountDay(0L);
|
|
bean.setOrderAmountHour(0L);
|
|
bean.setOrderAmountHour(0L);
|
|
@@ -1870,9 +1874,9 @@ public class PlanStatOfHourDWD {
|
|
bean.setOrderUnitPriceAll(0L);
|
|
bean.setOrderUnitPriceAll(0L);
|
|
bean.setOrderUnitPriceDay(0L);
|
|
bean.setOrderUnitPriceDay(0L);
|
|
bean.setOrderUnitPriceHour(0L);
|
|
bean.setOrderUnitPriceHour(0L);
|
|
- bean.setOrderRoiAll(0.0);
|
|
|
|
- bean.setOrderRoiDay(0.0);
|
|
|
|
- bean.setOrderRoiHour(0.0);
|
|
|
|
|
|
+ bean.setOrderRoiAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setOrderRoiDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setOrderRoiHour(BigDecimal.ZERO);
|
|
bean.setSignInCountTotal(0L);
|
|
bean.setSignInCountTotal(0L);
|
|
bean.setSignInCountDay(0L);
|
|
bean.setSignInCountDay(0L);
|
|
bean.setSignInCountHour(0L);
|
|
bean.setSignInCountHour(0L);
|
|
@@ -1885,12 +1889,12 @@ public class PlanStatOfHourDWD {
|
|
bean.setWechatMinigameRegisterCostAll(0L);
|
|
bean.setWechatMinigameRegisterCostAll(0L);
|
|
bean.setWechatMinigameRegisterCostDay(0L);
|
|
bean.setWechatMinigameRegisterCostDay(0L);
|
|
bean.setWechatMinigameRegisterCostHour(0L);
|
|
bean.setWechatMinigameRegisterCostHour(0L);
|
|
- bean.setWechatMinigameRegisterRateAll(0.0);
|
|
|
|
- bean.setWechatMinigameRegisterRateDay(0.0);
|
|
|
|
- bean.setWechatMinigameRegisterRateHour(0.0);
|
|
|
|
- bean.setWechatMinigameArpuAll(0.0);
|
|
|
|
- bean.setWechatMinigameArpuDay(0.0);
|
|
|
|
- bean.setWechatMinigameArpuHour(0.0);
|
|
|
|
|
|
+ bean.setWechatMinigameRegisterRateAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setWechatMinigameRegisterRateDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setWechatMinigameRegisterRateHour(BigDecimal.ZERO);
|
|
|
|
+ bean.setWechatMinigameArpuAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setWechatMinigameArpuDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setWechatMinigameArpuHour(BigDecimal.ZERO);
|
|
bean.setWechatMinigameRetentionCountTotal(0L);
|
|
bean.setWechatMinigameRetentionCountTotal(0L);
|
|
bean.setWechatMinigameRetentionCountDay(0L);
|
|
bean.setWechatMinigameRetentionCountDay(0L);
|
|
bean.setWechatMinigameRetentionCountHour(0L);
|
|
bean.setWechatMinigameRetentionCountHour(0L);
|
|
@@ -1903,15 +1907,15 @@ public class PlanStatOfHourDWD {
|
|
bean.setOfficialAccountFollowCountTotal(0L);
|
|
bean.setOfficialAccountFollowCountTotal(0L);
|
|
bean.setOfficialAccountFollowCountDay(0L);
|
|
bean.setOfficialAccountFollowCountDay(0L);
|
|
bean.setOfficialAccountFollowCountHour(0L);
|
|
bean.setOfficialAccountFollowCountHour(0L);
|
|
- bean.setOfficialAccountFollowRateAll(0.0);
|
|
|
|
- bean.setOfficialAccountFollowRateDay(0.0);
|
|
|
|
- bean.setOfficialAccountFollowRateHour(0.0);
|
|
|
|
|
|
+ bean.setOfficialAccountFollowRateAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setOfficialAccountFollowRateDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setOfficialAccountFollowRateHour(BigDecimal.ZERO);
|
|
bean.setOfficialAccountRegisterUserCountTotal(0L);
|
|
bean.setOfficialAccountRegisterUserCountTotal(0L);
|
|
bean.setOfficialAccountRegisterUserCountDay(0L);
|
|
bean.setOfficialAccountRegisterUserCountDay(0L);
|
|
bean.setOfficialAccountRegisterUserCountHour(0L);
|
|
bean.setOfficialAccountRegisterUserCountHour(0L);
|
|
- bean.setOfficialAccountRegisterRateAll(0.0);
|
|
|
|
- bean.setOfficialAccountRegisterRateDay(0.0);
|
|
|
|
- bean.setOfficialAccountRegisterRateHour(0.0);
|
|
|
|
|
|
+ bean.setOfficialAccountRegisterRateAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setOfficialAccountRegisterRateDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setOfficialAccountRegisterRateHour(BigDecimal.ZERO);
|
|
bean.setOfficialAccountRegisterCostAll(0L);
|
|
bean.setOfficialAccountRegisterCostAll(0L);
|
|
bean.setOfficialAccountRegisterCostDay(0L);
|
|
bean.setOfficialAccountRegisterCostDay(0L);
|
|
bean.setOfficialAccountRegisterCostHour(0L);
|
|
bean.setOfficialAccountRegisterCostHour(0L);
|
|
@@ -1927,9 +1931,9 @@ public class PlanStatOfHourDWD {
|
|
bean.setOfficialAccountApplyUserCountTotal(0L);
|
|
bean.setOfficialAccountApplyUserCountTotal(0L);
|
|
bean.setOfficialAccountApplyUserCountDay(0L);
|
|
bean.setOfficialAccountApplyUserCountDay(0L);
|
|
bean.setOfficialAccountApplyUserCountHour(0L);
|
|
bean.setOfficialAccountApplyUserCountHour(0L);
|
|
- bean.setOfficialAccountApplyRateAll(0.0);
|
|
|
|
- bean.setOfficialAccountApplyRateDay(0.0);
|
|
|
|
- bean.setOfficialAccountApplyRateHour(0.0);
|
|
|
|
|
|
+ bean.setOfficialAccountApplyRateAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setOfficialAccountApplyRateDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setOfficialAccountApplyRateHour(BigDecimal.ZERO);
|
|
bean.setOfficialAccountApplyCostAll(0L);
|
|
bean.setOfficialAccountApplyCostAll(0L);
|
|
bean.setOfficialAccountApplyCostDay(0L);
|
|
bean.setOfficialAccountApplyCostDay(0L);
|
|
bean.setOfficialAccountApplyCostHour(0L);
|
|
bean.setOfficialAccountApplyCostHour(0L);
|
|
@@ -1948,9 +1952,9 @@ public class PlanStatOfHourDWD {
|
|
bean.setOfficialAccountOrderUserCountTotal(0L);
|
|
bean.setOfficialAccountOrderUserCountTotal(0L);
|
|
bean.setOfficialAccountOrderUserCountDay(0L);
|
|
bean.setOfficialAccountOrderUserCountDay(0L);
|
|
bean.setOfficialAccountOrderUserCountHour(0L);
|
|
bean.setOfficialAccountOrderUserCountHour(0L);
|
|
- bean.setOfficialAccountOrderRateAll(0.0);
|
|
|
|
- bean.setOfficialAccountOrderRateDay(0.0);
|
|
|
|
- bean.setOfficialAccountOrderRateHour(0.0);
|
|
|
|
|
|
+ bean.setOfficialAccountOrderRateAll(BigDecimal.ZERO);
|
|
|
|
+ bean.setOfficialAccountOrderRateDay(BigDecimal.ZERO);
|
|
|
|
+ bean.setOfficialAccountOrderRateHour(BigDecimal.ZERO);
|
|
bean.setOfficialAccountOrderCostAll(0L);
|
|
bean.setOfficialAccountOrderCostAll(0L);
|
|
bean.setOfficialAccountOrderCostDay(0L);
|
|
bean.setOfficialAccountOrderCostDay(0L);
|
|
bean.setOfficialAccountOrderCostHour(0L);
|
|
bean.setOfficialAccountOrderCostHour(0L);
|