| 
					
				 | 
			
			
				@@ -37,19 +37,22 @@ public class AccountPreDistributeStrategy implements FilterStrategy { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (pools.length >= 3) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ArticlePreDistributeAccount articlePreDistributeAccount = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     articlePreDistributeAccountRepository.findByGhIdOrderByDate(param.getAccountId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (StringUtils.isNotEmpty(articlePreDistributeAccount.getArticleList())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            Set<String> articles = new HashSet<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (articlePreDistributeAccount != null && StringUtils.isNotEmpty(articlePreDistributeAccount.getArticleList())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 List<String[]> list = JSONUtils.fromJson(articlePreDistributeAccount.getArticleList(), new TypeToken<List<String[]>>() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }, Collections.emptyList()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                Set<String> articles = new HashSet<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 for (String[] s : list) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     articles.add(s[0]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                for (Content content : contents) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (StringUtils.equals(pools[2], content.getContentPoolType())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        if (articles.contains(content.getId())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            result.add(content.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (Content content : contents) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (StringUtils.equals(pools[2], content.getContentPoolType())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (articles.contains(content.getId())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        result.add(content.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    result.add(content.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 |