wangyunpeng 2 months ago
parent
commit
b1eabd9406

+ 2 - 1
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/recommend/DataDashboardService.java

@@ -2104,7 +2104,8 @@ public class DataDashboardService {
         }
         }
         Map<String, ContentPoolTypeDTO> poolTypeMap = poolTypeDTOS.stream().collect(Collectors.toMap(ContentPoolTypeDTO::getContentId, o -> o));
         Map<String, ContentPoolTypeDTO> poolTypeMap = poolTypeDTOS.stream().collect(Collectors.toMap(ContentPoolTypeDTO::getContentId, o -> o));
         Map<String, VideoAuditExport> map = new HashMap<>();
         Map<String, VideoAuditExport> map = new HashMap<>();
-        for (ContentPoolEnum contentPool : ContentPoolEnum.values()) {
+        ContentPoolEnum[] poolEnums = {ContentPoolEnum.autoArticlePoolLevel1, ContentPoolEnum.autoArticlePoolLevel3, ContentPoolEnum.autoArticlePoolLevel4};
+        for (ContentPoolEnum contentPool : poolEnums) {
             VideoAuditExport videoAuditExport = new VideoAuditExport();
             VideoAuditExport videoAuditExport = new VideoAuditExport();
             videoAuditExport.setDateStr(dateStr);
             videoAuditExport.setDateStr(dateStr);
             videoAuditExport.setPoolType(contentPool.getContentPool());
             videoAuditExport.setPoolType(contentPool.getContentPool());