|
@@ -8,6 +8,7 @@ import com.tzld.longarticle.recommend.server.common.enums.recommend.ContentPoolE
|
|
|
import com.tzld.longarticle.recommend.server.mapper.aigc.AigcBaseMapper;
|
|
|
import com.tzld.longarticle.recommend.server.mapper.aigc.PublishContentMapper;
|
|
|
import com.tzld.longarticle.recommend.server.mapper.longArticle.ArticleAuditMapper;
|
|
|
+import com.tzld.longarticle.recommend.server.mapper.longArticle.LongArticleBaseMapper;
|
|
|
import com.tzld.longarticle.recommend.server.model.dto.PublishContentMiniprogramDTO;
|
|
|
import com.tzld.longarticle.recommend.server.model.entity.aigc.ProducePlanExeRecord;
|
|
|
import com.tzld.longarticle.recommend.server.model.entity.longArticle.*;
|
|
@@ -39,6 +40,8 @@ public class ArticleVideoAuditService {
|
|
|
@Autowired
|
|
|
private AigcBaseMapper aigcBaseMapper;
|
|
|
@Autowired
|
|
|
+ private LongArticleBaseMapper longArticleBaseMapper;
|
|
|
+ @Autowired
|
|
|
private ArticleAuditMapper articleAuditMapper;
|
|
|
@Autowired
|
|
|
private PublishContentMapper publishContentMapper;
|
|
@@ -515,4 +518,8 @@ public class ArticleVideoAuditService {
|
|
|
}
|
|
|
return titleAuditRepository.getByStatusIn(Arrays.asList(ArticleVideoAuditStatusEnum.PASS.getCode(), ArticleVideoAuditStatusEnum.REJECT.getCode()));
|
|
|
}
|
|
|
+
|
|
|
+ public void updateContentStatusBySourceId(String sourceId) {
|
|
|
+ longArticleBaseMapper.updateContentStatusBySourceId(sourceId);
|
|
|
+ }
|
|
|
}
|