浏览代码

广告组添加 直播间商品点击数

zhaoxian 1 年之前
父节点
当前提交
19b65d3776

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

@@ -827,4 +827,10 @@ public class KuaishouUnitReportDaily {
     @Excel(name = "提交订单数", width = 15)
     @ApiModelProperty(value = "提交订单数")
     private Long eventOrderSubmit;
+    /**
+     * 直播间商品点击数
+     */
+    @Excel(name = "直播间商品点击数", width = 15)
+    @ApiModelProperty(value = "直播间商品点击数")
+    private Long liveEventGoodsView;
 }

+ 4 - 2
job-kuaishou/src/main/java/cn/com/ctop/job/kuaishou/data/mapper/xml/KuaishouUnitReportDailyMapper.xml

@@ -136,7 +136,8 @@
         `ad_photo_played_2s_ratio`,
         `event_outbound_call_ratio`,
         `event_ad_watch_times`,
-        `event_order_submit`
+        `event_order_submit`,
+        `live_event_goods_view`
         )
         values
         <foreach collection="addList" item="add" separator=",">
@@ -274,7 +275,8 @@
             #{add.adPhotoPlayed2sRatio},
             #{add.eventOutboundCallRatio},
             #{add.eventAdWatchTimes},
-            #{add.eventOrderSubmit}
+            #{add.eventOrderSubmit},
+            #{add.liveEventGoodsView}
             )
         </foreach>
     </insert>

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

@@ -203,6 +203,7 @@ public class KuaishouUnitReportDailyServiceImpl extends ServiceImpl<KuaishouUnit
             reportDaily.setEventOutboundCallRatio(returnJson.getBigDecimal("event_outbound_call_ratio"));
             reportDaily.setEventAdWatchTimes(returnJson.getLong("event_ad_watch_times"));
             reportDaily.setEventOrderSubmit(returnJson.getLong("event_order_submit"));
+            reportDaily.setLiveEventGoodsView(returnJson.getLong("live_event_goods_view"));
             addList.add(reportDaily);
         }
         unitReportDailyMapper.replaceBatch(addList);