|  | @@ -7,6 +7,7 @@ import com.alibaba.fastjson.JSONObject;
 | 
	
		
			
				|  |  |  import com.ctrip.framework.apollo.spring.annotation.ApolloJsonValue;
 | 
	
		
			
				|  |  |  import com.google.common.collect.Lists;
 | 
	
		
			
				|  |  |  import com.tzld.longarticle.recommend.server.common.enums.AccountBusinessTypeEnum;
 | 
	
		
			
				|  |  | +import com.tzld.longarticle.recommend.server.common.enums.ArticleTypeEnum;
 | 
	
		
			
				|  |  |  import com.tzld.longarticle.recommend.server.mapper.aigc.AigcBaseMapper;
 | 
	
		
			
				|  |  |  import com.tzld.longarticle.recommend.server.mapper.longArticle.LongArticleBaseMapper;
 | 
	
		
			
				|  |  |  import com.tzld.longarticle.recommend.server.model.dto.ProduceContentDTO;
 | 
	
	
		
			
				|  | @@ -143,7 +144,7 @@ public class DataDashboardService {
 | 
	
		
			
				|  |  |          List<AccountAvgInfo> accountAvgInfoList = accountAvgInfoRepository.findAll();
 | 
	
		
			
				|  |  |          List<String> ghIds = accountAvgInfoList.stream().map(AccountAvgInfo::getGhId).distinct().collect(Collectors.toList());
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        List<Article> articleList = articleRepository.getByGhIdInAndUpdateTimeGreaterThanAndTypeEquals(ghIds, timestamp, "9");
 | 
	
		
			
				|  |  | +        List<Article> articleList = articleRepository.getByGhIdInAndUpdateTimeGreaterThanAndTypeEquals(ghIds, timestamp, ArticleTypeEnum.qunfa.getVal());
 | 
	
		
			
				|  |  |          Map<String, Map<String, Map<Integer, Article>>> articleMap = articleList.stream().collect(Collectors.groupingBy(Article::getGhId,
 | 
	
		
			
				|  |  |                  Collectors.groupingBy(Article::getAppMsgId, Collectors.toMap(Article::getItemIndex, o -> o))));
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -262,7 +263,7 @@ public class DataDashboardService {
 | 
	
		
			
				|  |  |          List<Article> hisArticleList = new ArrayList<>();
 | 
	
		
			
				|  |  |          List<List<String>> titleMd5Partition = Lists.partition(new ArrayList<>(titleMd5List), 1000);
 | 
	
		
			
				|  |  |          for (List<String> titleMd5s : titleMd5Partition) {
 | 
	
		
			
				|  |  | -            hisArticleList.addAll(articleRepository.getByTitleMd5InAndTypeEqualsAndStatusEquals(titleMd5s, "9", 1));
 | 
	
		
			
				|  |  | +            hisArticleList.addAll(articleRepository.getByTitleMd5InAndTypeEqualsAndStatusEquals(titleMd5s, ArticleTypeEnum.qunfa.getVal(), 1));
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          Map<String, List<Article>> hisArticleMap = hisArticleList.stream().collect(Collectors.groupingBy(Article::getTitle));
 | 
	
		
			
				|  |  |          Set<String> hisWxSnList = hisArticleList.stream().map(Article::getWxSn).collect(Collectors.toSet());
 | 
	
	
		
			
				|  | @@ -772,7 +773,7 @@ public class DataDashboardService {
 | 
	
		
			
				|  |  |                  .collect(Collectors.groupingBy(AccountAvgInfo::getGhId, Collectors.groupingBy(AccountAvgInfo::getUpdateTime,
 | 
	
		
			
				|  |  |                          Collectors.toMap(AccountAvgInfo::getPosition, o -> o))));
 | 
	
		
			
				|  |  |          List<String> ghIds = accountAvgInfoList.stream().map(AccountAvgInfo::getGhId).distinct().collect(Collectors.toList());
 | 
	
		
			
				|  |  | -        List<Article> articleList = articleRepository.getByGhIdInAndUpdateTimeLessThanAndTypeEquals(ghIds, dateEnd, "9");
 | 
	
		
			
				|  |  | +        List<Article> articleList = articleRepository.getByGhIdInAndUpdateTimeLessThanAndTypeEquals(ghIds, dateEnd, ArticleTypeEnum.qunfa.getVal());
 | 
	
		
			
				|  |  |          Map<String, Article> articleMap = articleList.stream().collect(Collectors.toMap(Article::getWxSn, o -> o));
 | 
	
		
			
				|  |  |          List<Article> todayPublish = articleList.stream().filter(o -> o.getUpdateTime() > dateStart).collect(Collectors.toList());
 | 
	
		
			
				|  |  |          if (CollectionUtils.isEmpty(todayPublish)) {
 | 
	
	
		
			
				|  | @@ -795,7 +796,7 @@ public class DataDashboardService {
 | 
	
		
			
				|  |  |          List<NewSortStrategyExport> newSortStrategyExportList = getNewSortStrategyExportList(todayPublish,
 | 
	
		
			
				|  |  |                  articleDetailInfoMap, accountAvgInfoIndexMap);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        List<Article> futurePublishList = articleRepository.getByUpdateTimeGreaterThanAndTypeEquals(dateEnd, "9");
 | 
	
		
			
				|  |  | +        List<Article> futurePublishList = articleRepository.getByUpdateTimeGreaterThanAndTypeEquals(dateEnd, ArticleTypeEnum.qunfa.getVal());
 | 
	
		
			
				|  |  |          Map<String, List<Article>> futurePublishMap = futurePublishList.stream().collect(Collectors.groupingBy(Article::getTitle));
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          Map<String, List<String>> titleTypeMap = new HashMap<>();
 | 
	
	
		
			
				|  | @@ -1381,7 +1382,7 @@ public class DataDashboardService {
 | 
	
		
			
				|  |  |          sortLogList.sort(Comparator.comparing(PublishSortLog::getGhId).thenComparing(PublishSortLog::getDateStr));
 | 
	
		
			
				|  |  |          List<String> ghIds = sortLogList.stream().map(PublishSortLog::getGhId).distinct().collect(Collectors.toList());
 | 
	
		
			
				|  |  |          long minTimestamp = DateUtils.dateStrToTimestamp(dateStrList.get(0), "yyyyMMdd");
 | 
	
		
			
				|  |  | -        List<Article> articleList = articleRepository.getByGhIdInAndUpdateTimeGreaterThanAndTypeEquals(ghIds, minTimestamp, "9");
 | 
	
		
			
				|  |  | +        List<Article> articleList = articleRepository.getByGhIdInAndUpdateTimeGreaterThanAndTypeEquals(ghIds, minTimestamp, ArticleTypeEnum.qunfa.getVal());
 | 
	
		
			
				|  |  |          articleList = articleList.stream().filter(o -> o.getItemIndex() == 1).collect(Collectors.toList());
 | 
	
		
			
				|  |  |          Map<String, Map<String, Article>> articleMap = articleList.stream().collect(
 | 
	
		
			
				|  |  |                  Collectors.groupingBy(Article::getGhId, Collectors.toMap(
 |