Explorar el Código

add特征画像人群需求视频

wangyunpeng hace 1 mes
padre
commit
a9fa83e946

+ 2 - 1
core/src/main/java/com/tzld/videoVector/job/ChannelDemandMatchJob.java

@@ -1043,10 +1043,12 @@ public class ChannelDemandMatchJob {
                     result.setMatchMethod(MatchMethodEnum.RECOMMEND_LIB_EXACT.getValue());
                     result.setMatchVideoFilter(VIDEO_FILTER_DIMENSION_STAT);
                     result.setMatchSort("全局推荐rov");
+                    result.setSceneSumRov(safeGetDouble(record, "rov"));
                 } else {
                     result.setMatchMethod(MatchMethodEnum.DIMENSION_STAT.getValue());
                     result.setMatchVideoFilter(VIDEO_FILTER_DIMENSION_STAT);
                     result.setMatchSort(SORT_DIMENSION_STAT);
+                    result.setSceneSumRov(safeGetDouble(record, "sum_总rov"));
                 }
 
                 // 需求维度字段
@@ -1073,7 +1075,6 @@ public class ChannelDemandMatchJob {
                 result.setUvRatio(safeGetDouble(record, "uv占比"));
                 result.setTotalRov(safeGetDouble(record, "总rov"));
                 result.setMatchRov(safeGetDouble(record, "rov"));
-                result.setSceneSumRov(safeGetDouble(record, "sum_总rov"));
 
                 // 计算综合评分:sim默认1,rov取totalRov
                 double rov = result.getMatchRov() != null ? result.getMatchRov() : 0.0;