|
|
@@ -1502,6 +1502,7 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
|
|
|
if (Objects.isNull(item.getRecommendScore())) {
|
|
|
item.setRecommendScore(recommendTypeVideoScoreMap.get(video.getVideoId()));
|
|
|
}
|
|
|
+ item.setCategory(defaultString(video.getCategory()));
|
|
|
item.setExperimentId("hot");
|
|
|
result.add(item);
|
|
|
}
|
|
|
@@ -2104,6 +2105,7 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
|
|
|
item.setDemandContentTopic(video.getDemandContentTopic());
|
|
|
item.setPointType(video.getPointType());
|
|
|
item.setStandardElement(video.getStandardElement());
|
|
|
+ item.setCategory(defaultString(video.getCategory()));
|
|
|
item.setCategoryName(video.getCategoryName());
|
|
|
item.setExperimentId(video.getExperimentId());
|
|
|
item.setSim(video.getSim());
|
|
|
@@ -2121,6 +2123,10 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
+ private static String defaultString(String value) {
|
|
|
+ return StringUtils.hasText(value) ? value : "";
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public Page<XcxPlanItemVO> xcxPlanList(XcxPlanListParam param) {
|
|
|
ContentPlatformAccount loginAccount = LoginUserContext.getUser();
|