|
@@ -96,11 +96,11 @@ public class ContentPlatformDemandVideoJob {
|
|
|
Long now = System.currentTimeMillis();
|
|
Long now = System.currentTimeMillis();
|
|
|
List<ContentPlatformDemandVideo> defaults = new ArrayList<>();
|
|
List<ContentPlatformDemandVideo> defaults = new ArrayList<>();
|
|
|
defaults.add(buildDefaultRecord(dt, now,
|
|
defaults.add(buildDefaultRecord(dt, now,
|
|
|
- "vector_search", "视频库_解构特征_向量相似匹配 ", "相似度>=0.8", "向量相似度+全局推荐rov"));
|
|
|
|
|
|
|
+ "vector_search", "视频库_解构特征_向量相似匹配 ", "相似度>=0.8", "向量相似度+全局推荐rov", "平台搜索"));
|
|
|
defaults.add(buildDefaultRecord(dt, now,
|
|
defaults.add(buildDefaultRecord(dt, now,
|
|
|
- "manager_search", "视频库_标题_包含匹配", "关键词匹配", "--"));
|
|
|
|
|
|
|
+ "manager_search", "视频库_标题_包含匹配", "关键词匹配", "", "平台搜索"));
|
|
|
defaults.add(buildDefaultRecord(dt, now,
|
|
defaults.add(buildDefaultRecord(dt, now,
|
|
|
- "hot", "--", "--", "全局推荐rov"));
|
|
|
|
|
|
|
+ "hot", "", "", "全局推荐rov", "平台热门"));
|
|
|
|
|
|
|
|
demandVideoMapperExt.deleteByDtAndChannelName(dt, DEFAULT_RECORD_CHANNEL);
|
|
demandVideoMapperExt.deleteByDtAndChannelName(dt, DEFAULT_RECORD_CHANNEL);
|
|
|
demandVideoMapperExt.batchInsert(defaults);
|
|
demandVideoMapperExt.batchInsert(defaults);
|
|
@@ -111,7 +111,8 @@ public class ContentPlatformDemandVideoJob {
|
|
|
String experimentId,
|
|
String experimentId,
|
|
|
String matchMethod,
|
|
String matchMethod,
|
|
|
String matchVideoFilter,
|
|
String matchVideoFilter,
|
|
|
- String matchSort) {
|
|
|
|
|
|
|
+ String matchSort,
|
|
|
|
|
+ String demandStrategy) {
|
|
|
ContentPlatformDemandVideo record = new ContentPlatformDemandVideo();
|
|
ContentPlatformDemandVideo record = new ContentPlatformDemandVideo();
|
|
|
record.setDt(dt);
|
|
record.setDt(dt);
|
|
|
record.setChannelName(DEFAULT_RECORD_CHANNEL);
|
|
record.setChannelName(DEFAULT_RECORD_CHANNEL);
|
|
@@ -119,6 +120,7 @@ public class ContentPlatformDemandVideoJob {
|
|
|
record.setMatchMethod(matchMethod);
|
|
record.setMatchMethod(matchMethod);
|
|
|
record.setMatchVideoFilter(matchVideoFilter);
|
|
record.setMatchVideoFilter(matchVideoFilter);
|
|
|
record.setMatchSort(matchSort);
|
|
record.setMatchSort(matchSort);
|
|
|
|
|
+ record.setDemandStrategy(demandStrategy);
|
|
|
record.setStatus(1);
|
|
record.setStatus(1);
|
|
|
record.setCreateTimestamp(now);
|
|
record.setCreateTimestamp(now);
|
|
|
return record;
|
|
return record;
|