浏览代码

获取罗盘绑定广告主 添加字段

zhaoxian 9 月之前
父节点
当前提交
4a40a08a72

+ 5 - 0
job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/data/entity/KuaishouCampaignReportDaily.java

@@ -8,6 +8,8 @@ import lombok.EqualsAndHashCode;
 import lombok.experimental.Accessors;
 import lombok.experimental.Accessors;
 import org.jeecgframework.poi.excel.annotation.Excel;
 import org.jeecgframework.poi.excel.annotation.Excel;
 
 
+import java.math.BigDecimal;
+
 /**
 /**
  * 快手-计划日报
  * 快手-计划日报
  *
  *
@@ -546,4 +548,7 @@ public class KuaishouCampaignReportDaily {
   @Excel(name = " 广告观看次数", width = 15)
   @Excel(name = " 广告观看次数", width = 15)
   @ApiModelProperty(value = " 广告观看次数")
   @ApiModelProperty(value = " 广告观看次数")
   private Long eventAdWatchTimes;
   private Long eventAdWatchTimes;
+
+  private BigDecimal minigameIaaPurchaseAmount;
+  private BigDecimal minigameIaaPurchaseRoi;
 }
 }

+ 5 - 0
job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/data/entity/KuaishouMaterialVideoReportDaily.java

@@ -8,6 +8,8 @@ import lombok.EqualsAndHashCode;
 import lombok.experimental.Accessors;
 import lombok.experimental.Accessors;
 import org.jeecgframework.poi.excel.annotation.Excel;
 import org.jeecgframework.poi.excel.annotation.Excel;
 
 
+import java.math.BigDecimal;
+
 /**
 /**
  * 素材-日报
  * 素材-日报
  *
  *
@@ -558,4 +560,7 @@ public class KuaishouMaterialVideoReportDaily {
   @Excel(name = " 广告观看次数", width = 15)
   @Excel(name = " 广告观看次数", width = 15)
   @ApiModelProperty(value = " 广告观看次数")
   @ApiModelProperty(value = " 广告观看次数")
   private Long eventAdWatchTimes;
   private Long eventAdWatchTimes;
+
+  private BigDecimal minigameIaaPurchaseAmount;
+  private BigDecimal minigameIaaPurchaseRoi;
 }
 }

+ 5 - 0
job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/data/entity/KuaishouUnitReportDaily.java

@@ -8,6 +8,8 @@ import lombok.EqualsAndHashCode;
 import lombok.experimental.Accessors;
 import lombok.experimental.Accessors;
 import org.jeecgframework.poi.excel.annotation.Excel;
 import org.jeecgframework.poi.excel.annotation.Excel;
 
 
+import java.math.BigDecimal;
+
 /**
 /**
  * 组-日报
  * 组-日报
  *
  *
@@ -833,4 +835,7 @@ public class KuaishouUnitReportDaily {
     @Excel(name = "直播间商品点击数", width = 15)
     @Excel(name = "直播间商品点击数", width = 15)
     @ApiModelProperty(value = "直播间商品点击数")
     @ApiModelProperty(value = "直播间商品点击数")
     private Long liveEventGoodsView;
     private Long liveEventGoodsView;
+
+    private BigDecimal minigameIaaPurchaseAmount;
+    private BigDecimal minigameIaaPurchaseRoi;
 }
 }

+ 18 - 6
job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/data/mapper/xml/CompassBindAdvertisersMapper.xml

@@ -151,7 +151,9 @@
         `event_measurement_house`,
         `event_measurement_house`,
         `ad_photo_played_2s_ratio`,
         `ad_photo_played_2s_ratio`,
         `event_outbound_call_ratio`,
         `event_outbound_call_ratio`,
-        `event_ad_watch_times`
+        `event_ad_watch_times`,
+        `minigame_iaa_purchase_amount`,
+        `minigame_iaa_purchase_roi`
         )
         )
         values
         values
         <foreach collection="addList" item="add" separator=",">
         <foreach collection="addList" item="add" separator=",">
@@ -286,7 +288,9 @@
             #{add.eventMeasurementHouse},
             #{add.eventMeasurementHouse},
             #{add.adPhotoPlayed2sRatio},
             #{add.adPhotoPlayed2sRatio},
             #{add.eventOutboundCallRatio},
             #{add.eventOutboundCallRatio},
-            #{add.eventAdWatchTimes}
+            #{add.eventAdWatchTimes},
+            #{add.minigameIaaPurchaseAmount},
+            #{add.minigameIaaPurchaseRoi}
             )
             )
         </foreach>
         </foreach>
     </insert>
     </insert>
@@ -428,7 +432,9 @@
         `event_outbound_call_ratio`,
         `event_outbound_call_ratio`,
         `event_ad_watch_times`,
         `event_ad_watch_times`,
         `event_order_submit`,
         `event_order_submit`,
-        `live_event_goods_view`
+        `live_event_goods_view`,
+        `minigame_iaa_purchase_amount`,
+        `minigame_iaa_purchase_roi`
         )
         )
         values
         values
         <foreach collection="addList" item="add" separator=",">
         <foreach collection="addList" item="add" separator=",">
@@ -567,7 +573,9 @@
             #{add.eventOutboundCallRatio},
             #{add.eventOutboundCallRatio},
             #{add.eventAdWatchTimes},
             #{add.eventAdWatchTimes},
             #{add.eventOrderSubmit},
             #{add.eventOrderSubmit},
-            #{add.liveEventGoodsView}
+            #{add.liveEventGoodsView},
+            #{add.minigameIaaPurchaseAmount},
+            #{add.minigameIaaPurchaseRoi}
             )
             )
         </foreach>
         </foreach>
     </insert>
     </insert>
@@ -709,7 +717,9 @@
         `event_measurement_house`,
         `event_measurement_house`,
         `ad_photo_played_2s_ratio`,
         `ad_photo_played_2s_ratio`,
         `event_outbound_call_ratio`,
         `event_outbound_call_ratio`,
-        `event_ad_watch_times`
+        `event_ad_watch_times`,
+        `minigame_iaa_purchase_amount`,
+        `minigame_iaa_purchase_roi`
         )
         )
         values
         values
         <foreach collection="addList" item="add" separator=",">
         <foreach collection="addList" item="add" separator=",">
@@ -847,7 +857,9 @@
             #{add.eventMeasurementHouse},
             #{add.eventMeasurementHouse},
             #{add.adPhotoPlayed2sRatio},
             #{add.adPhotoPlayed2sRatio},
             #{add.eventOutboundCallRatio},
             #{add.eventOutboundCallRatio},
-            #{add.eventAdWatchTimes}
+            #{add.eventAdWatchTimes},
+            #{add.minigameIaaPurchaseAmount},
+            #{add.minigameIaaPurchaseRoi}
             )
             )
         </foreach>
         </foreach>
     </insert>
     </insert>

+ 7 - 0
job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/data/service/impl/CompassBindAdvertisersServiceImpl.java

@@ -219,6 +219,8 @@ public class CompassBindAdvertisersServiceImpl extends ServiceImpl<CompassBindAd
             reportDaily.setAdPhotoPlayed2sRatio(returnJson.getBigDecimal("ad_photo_played_2s_ratio"));
             reportDaily.setAdPhotoPlayed2sRatio(returnJson.getBigDecimal("ad_photo_played_2s_ratio"));
             reportDaily.setEventOutboundCallRatio(returnJson.getBigDecimal("event_outbound_call_ratio"));
             reportDaily.setEventOutboundCallRatio(returnJson.getBigDecimal("event_outbound_call_ratio"));
             reportDaily.setEventAdWatchTimes(returnJson.getLong("event_ad_watch_times"));
             reportDaily.setEventAdWatchTimes(returnJson.getLong("event_ad_watch_times"));
+            reportDaily.setMinigameIaaPurchaseAmount(returnJson.getBigDecimal("minigame_iaa_purchase_amount"));
+            reportDaily.setMinigameIaaPurchaseRoi(returnJson.getBigDecimal("minigame_iaa_purchase_roi"));
             addList.add(reportDaily);
             addList.add(reportDaily);
         }
         }
         if (!Check.isNull(addList)) {
         if (!Check.isNull(addList)) {
@@ -401,6 +403,8 @@ public class CompassBindAdvertisersServiceImpl extends ServiceImpl<CompassBindAd
             reportDaily.setEventAdWatchTimes(returnJson.getLong("event_ad_watch_times"));
             reportDaily.setEventAdWatchTimes(returnJson.getLong("event_ad_watch_times"));
             reportDaily.setEventOrderSubmit(returnJson.getLong("event_order_submit"));
             reportDaily.setEventOrderSubmit(returnJson.getLong("event_order_submit"));
             reportDaily.setLiveEventGoodsView(returnJson.getLong("live_event_goods_view"));
             reportDaily.setLiveEventGoodsView(returnJson.getLong("live_event_goods_view"));
+            reportDaily.setMinigameIaaPurchaseAmount(returnJson.getBigDecimal("minigame_iaa_purchase_amount"));
+            reportDaily.setMinigameIaaPurchaseRoi(returnJson.getBigDecimal("minigame_iaa_purchase_roi"));
             addList.add(reportDaily);
             addList.add(reportDaily);
         }
         }
         if (!Check.isNull(addList)) {
         if (!Check.isNull(addList)) {
@@ -576,6 +580,9 @@ public class CompassBindAdvertisersServiceImpl extends ServiceImpl<CompassBindAd
             reportDaily.setAdPhotoPlayed2sRatio(returnJson.getBigDecimal("ad_photo_played_2s_ratio"));
             reportDaily.setAdPhotoPlayed2sRatio(returnJson.getBigDecimal("ad_photo_played_2s_ratio"));
             reportDaily.setEventOutboundCallRatio(returnJson.getBigDecimal("event_outbound_call_ratio"));
             reportDaily.setEventOutboundCallRatio(returnJson.getBigDecimal("event_outbound_call_ratio"));
             reportDaily.setEventAdWatchTimes(returnJson.getLong("event_ad_watch_times"));
             reportDaily.setEventAdWatchTimes(returnJson.getLong("event_ad_watch_times"));
+            reportDaily.setMinigameIaaPurchaseAmount(returnJson.getBigDecimal("minigame_iaa_purchase_amount"));
+            reportDaily.setMinigameIaaPurchaseRoi(returnJson.getBigDecimal("minigame_iaa_purchase_roi"));
+
             addList.add(reportDaily);
             addList.add(reportDaily);
         }
         }
         baseMapper.replaceBatchVideosportDaily(addList);
         baseMapper.replaceBatchVideosportDaily(addList);