فهرست منبع

浮层补充需求侧字段:渠道类名称/三级渠道/视频数/访问UV/UV占比/总ROV

去掉「行业裂变率/本渠道裂变率/推荐指数」(需求接口不产出)
加入「sim/rov」+ 上述 6 个需求侧统计;补 channel_level3 PO 字段+ SELECT 列。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
刘立冬 1 روز پیش
والد
کامیت
360546a293

+ 10 - 0
api-module/src/main/java/com/tzld/piaoquan/api/model/po/contentplatform/ContentPlatformDemandVideo.java

@@ -9,6 +9,8 @@ public class ContentPlatformDemandVideo {
 
 
     private String channelName;
     private String channelName;
 
 
+    private String channelLevel3;
+
     private String crowdSegment;
     private String crowdSegment;
 
 
     private String demandId;
     private String demandId;
@@ -115,6 +117,14 @@ public class ContentPlatformDemandVideo {
         this.channelName = channelName;
         this.channelName = channelName;
     }
     }
 
 
+    public String getChannelLevel3() {
+        return channelLevel3;
+    }
+
+    public void setChannelLevel3(String channelLevel3) {
+        this.channelLevel3 = channelLevel3;
+    }
+
     public String getCrowdSegment() {
     public String getCrowdSegment() {
         return crowdSegment;
         return crowdSegment;
     }
     }

+ 24 - 0
api-module/src/main/java/com/tzld/piaoquan/api/model/vo/contentplatform/VideoContentItemVO.java

@@ -89,4 +89,28 @@ public class VideoContentItemVO {
 
 
     @ApiModelProperty(value = "数据来源: prior / posterior / hot")
     @ApiModelProperty(value = "数据来源: prior / posterior / hot")
     private String source;
     private String source;
+
+    @ApiModelProperty(value = "相似度")
+    private Double sim;
+
+    @ApiModelProperty(value = "rov")
+    private Double rov;
+
+    @ApiModelProperty(value = "渠道类名称")
+    private String channelName;
+
+    @ApiModelProperty(value = "三级渠道")
+    private String channelLevel3;
+
+    @ApiModelProperty(value = "需求侧视频数量")
+    private Integer videoCount;
+
+    @ApiModelProperty(value = "需求侧访问UV")
+    private Long visitUv;
+
+    @ApiModelProperty(value = "需求侧UV占比")
+    private Double uvRatio;
+
+    @ApiModelProperty(value = "需求侧总ROV")
+    private Double totalRov;
 }
 }

+ 8 - 0
api-module/src/main/java/com/tzld/piaoquan/api/service/contentplatform/impl/ContentPlatformPlanServiceImpl.java

@@ -1521,6 +1521,14 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
             item.setStandardElement(video.getStandardElement());
             item.setStandardElement(video.getStandardElement());
             item.setCategoryName(video.getCategoryName());
             item.setCategoryName(video.getCategoryName());
             item.setExperimentId(video.getExperimentId());
             item.setExperimentId(video.getExperimentId());
+            item.setSim(video.getSim());
+            item.setRov(video.getRov());
+            item.setChannelName(video.getChannelName());
+            item.setChannelLevel3(video.getChannelLevel3());
+            item.setVideoCount(video.getVideoCount());
+            item.setVisitUv(video.getVisitUv());
+            item.setUvRatio(video.getUvRatio());
+            item.setTotalRov(video.getTotalRov());
             result.add(item);
             result.add(item);
         }
         }
         return result;
         return result;

+ 3 - 3
api-module/src/main/resources/mapper/contentplatform/ext/ContentPlatformDemandVideoMapperExt.xml

@@ -28,7 +28,7 @@
     </delete>
     </delete>
 
 
     <select id="selectByCondition" resultType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
     <select id="selectByCondition" resultType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
-        SELECT id, dt, channel_name, crowd_segment, dimension, point_type, standard_element,
+        SELECT id, dt, channel_name, channel_level3, crowd_segment, dimension, point_type, standard_element,
                category_name, demand_id, crowd_package, conversion_target, partner, account, scene_value,
                category_name, demand_id, crowd_package, conversion_target, partner, account, scene_value,
                demand_strategy, drive_dimension_time, demand_filter_sort_strategy, demand_type,
                demand_strategy, drive_dimension_time, demand_filter_sort_strategy, demand_type,
                demand_content_id, demand_content_title, demand_content_topic,
                demand_content_id, demand_content_title, demand_content_topic,
@@ -75,7 +75,7 @@
     </select>
     </select>
 
 
     <select id="selectForRecommend" resultType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
     <select id="selectForRecommend" resultType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
-        SELECT id, dt, channel_name, crowd_segment, dimension, point_type, standard_element,
+        SELECT id, dt, channel_name, channel_level3, crowd_segment, dimension, point_type, standard_element,
                category_name, demand_id, crowd_package, conversion_target, partner, account, scene_value,
                category_name, demand_id, crowd_package, conversion_target, partner, account, scene_value,
                demand_strategy, drive_dimension_time, demand_filter_sort_strategy, demand_type,
                demand_strategy, drive_dimension_time, demand_filter_sort_strategy, demand_type,
                demand_content_id, demand_content_title, demand_content_topic,
                demand_content_id, demand_content_title, demand_content_topic,
@@ -104,7 +104,7 @@
     </select>
     </select>
 
 
     <select id="selectForRecommendPaged" resultType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
     <select id="selectForRecommendPaged" resultType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
-        SELECT id, dt, channel_name, crowd_segment, dimension, point_type, standard_element,
+        SELECT id, dt, channel_name, channel_level3, crowd_segment, dimension, point_type, standard_element,
                category_name, demand_id, crowd_package, conversion_target, partner, account, scene_value,
                category_name, demand_id, crowd_package, conversion_target, partner, account, scene_value,
                demand_strategy, drive_dimension_time, demand_filter_sort_strategy, demand_type,
                demand_strategy, drive_dimension_time, demand_filter_sort_strategy, demand_type,
                demand_content_id, demand_content_title, demand_content_topic,
                demand_content_id, demand_content_title, demand_content_topic,