| 
					
				 | 
			
			
				@@ -785,11 +785,23 @@ public class WorkerLogic { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<AdminWebsit> adminWebsits = new ArrayList<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        List<String> collect = websitUsers.stream() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                .map(WebsitUser::getWebsitId).collect(Collectors.toList()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        List<PolicyWebsit> policyWebsits = policyWebsitService.lambdaQuery().in(PolicyWebsit::getWebsitId,collect ).list(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (CollectionUtils.isEmpty(policyWebsits)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return new ArrayList<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Policy policy = policyService.lambdaQuery() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .eq(Policy::getType, "DS") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .ge(Policy::getEndTime, new Date()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                .in(Policy::getId,  policyWebsits.stream() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        .map(PolicyWebsit::getPolicyId).collect(Collectors.toList())) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .orderByDesc(Policy::getEndTime) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .last("limit 1").one(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (policy == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return new ArrayList<>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (WebsitUser websitUser : websitUsers) { 
			 |