| 
					
				 | 
			
			
				@@ -9,6 +9,7 @@ import com.tzld.longarticle.recommend.server.service.AccountIndexAvgViewCountSer 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.service.score.Score; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.service.score.ScoreParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.service.score.ScoreStrategy; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.tzld.longarticle.recommend.server.util.DateUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.tzld.longarticle.recommend.server.util.MathUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import lombok.extern.slf4j.Slf4j; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -68,6 +69,11 @@ public class ViewCountRateCorrelationStrategy implements ScoreStrategy { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 double avgViewCountSumSecond = 0D; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 double maxAvgViewCount = 0D; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 for (ContentHisPublishArticle hisItem : content.getHisPublishArticleList()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    // 过滤掉发布时间晚于20点数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    int publishHour = DateUtils.getHourByTimestamp(hisItem.getUpdateTime()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (publishHour >= 20) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        continue; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (hisItem.isInnerAccount() && Objects.nonNull(hisItem.getViewCount()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             && hisItem.getViewCount() > 0 && Objects.nonNull(hisItem.getAvgViewCount()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             && hisItem.getAvgViewCount() > 0) { 
			 |