|
@@ -310,7 +310,7 @@ public class ArticlePromotionService {
|
|
|
if (CollectionUtils.isNotEmpty(publishContentIds)) {
|
|
|
String planName = String.format("%d_%s_%s_%s【%s】_%s_%s", publishContentIds.size(), today, accountNickName, pos, way, today, promotionStrategy);
|
|
|
IdNameVO<String> planInfo = aigcCrawlerPlanSaveService.createArticleUrlPlan(planName, publishContentIds, tag, CrawlerModeEnum.PublishContentIds.getVal());
|
|
|
- if (StringUtils.hasText(produceId)) {
|
|
|
+ if (StringUtils.hasText(produceId) && StringUtils.hasText(planInfo.getId())) {
|
|
|
String inputSourceLabel = String.format("原始帖子-长文-微信公众号-内容添加计划-%s", planInfo.getName());
|
|
|
articleAddDependPlan(produceId, planInfo.getId(), inputSourceLabel, ProducePlanInputSourceTypeEnum.contentPlan.getVal());
|
|
|
}
|