Преглед на файлове

项目自动投放策略,素材筛选添加可用时间限制

zhaoxian преди 3 години
родител
ревизия
a738cbcf87

+ 2 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/ai/service/impl/AiKuaishouProjectCreateCreativeServiceImpl.java

@@ -730,7 +730,8 @@ public class AiKuaishouProjectCreateCreativeServiceImpl implements IAiKuaishouPr
 
     private List<KuaiShouVideoGet> getNewVideoListByParams(KuaishouProjectStrategy strategy, String startTime, String endTime, AiKuaiShouAppInfo appInfo) {
         if (null == appInfo) {
-            return projectVideoGetService.getNewVideoBetweenTime(strategy.getAccountId(), startTime, endTime, strategy.getChannelType());
+            Integer channelType = strategy.getChannelType() == 2 ? null : strategy.getChannelType();
+            return projectVideoGetService.getNewVideoBetweenTime(strategy.getAccountId(), startTime, endTime, channelType);
         } else {
             //查询通用素材
             List<KuaiShouVideoGet> generalVideos = new ArrayList<>();