Subversion Repositories SmartDukaan

Rev

Rev 22868 | Rev 23066 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22868 Rev 22886
Line 194... Line 194...
194
			}
194
			}
195
		}
195
		}
196
		
196
		
197
		Set<Integer> userIds = this.toUserIds(saholicUserAccounts, retailerIds);
197
		Set<Integer> userIds = this.toUserIds(saholicUserAccounts, retailerIds);
198
		
198
		
-
 
199
		if(userIds.isEmpty()){
-
 
200
			return;
-
 
201
		}
199
		List<Integer> foundRetailerRoleUserIds = userRoleRepository.selectUserIdsByUserIdsAndRoleType(userIds, RoleType.RETAILER);
202
		List<Integer> foundRetailerRoleUserIds = userRoleRepository.selectUserIdsByUserIdsAndRoleType(userIds, RoleType.RETAILER);
200
		
203
		
201
		Set<Integer> notFoundRetailerRoleUserIds = new HashSet<>(userIds);
204
		Set<Integer> notFoundRetailerRoleUserIds = new HashSet<>(userIds);
202
		notFoundRetailerRoleUserIds.removeAll(foundRetailerRoleUserIds);
205
		notFoundRetailerRoleUserIds.removeAll(foundRetailerRoleUserIds);
203
		
206