|
|
@ -1414,7 +1414,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
|
public void addArticleTagsV2(UpdateCustomerTagCacheDTO formDto,String customerId,String articleId){ |
|
|
|
List<ArticleTagsEntity> articleTags = new ArrayList<>(); |
|
|
|
|
|
|
|
if (CollectionUtils.isEmpty(formDto.getTagsInfo())){ |
|
|
|
if (null == formDto || CollectionUtils.isEmpty(formDto.getTagsInfo())){ |
|
|
|
return; |
|
|
|
} |
|
|
|
List<UpdateTagUseCountsResultDTO> tagsInfo = formDto.getTagsInfo(); |
|
|
@ -1571,7 +1571,9 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
|
} |
|
|
|
// 5.文章标签
|
|
|
|
UpdateCustomerTagCacheDTO updateCustomerTagCacheDTO = updateCustomerTagV2(formDTO.getUserId(), formDTO.getCustomerId(), StringUtils.isBlank(article.getTags()) ? "" : article.getTags()); |
|
|
|
addArticleTagsV2(updateCustomerTagCacheDTO,customerId,article.getId()); |
|
|
|
if (null != updateCustomerTagCacheDTO){ |
|
|
|
addArticleTagsV2(updateCustomerTagCacheDTO,customerId,article.getId()); |
|
|
|
} |
|
|
|
// 6.更新网格tag
|
|
|
|
List<UpdateGridTagCacheDTO> updateGridTagCacheDTOS = updateGridTagV2(updateCustomerTagCacheDTO, customerId, formDTO.getGridIdList(), formDTO.getUserId()); |
|
|
|
// 7.文章封面
|
|
|
|