Subversion Repositories SmartDukaan

Rev

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

Rev 26422 Rev 26431
Line 1004... Line 1004...
1004
			authIds.add(l2l1.getKey());
1004
			authIds.add(l2l1.getKey());
1005
 
1005
 
1006
			List<Lead> leads = leadRepository.selectByAssignAuthIdsAndStatus(authIds, LeadStatus.followUp);
1006
			List<Lead> leads = leadRepository.selectByAssignAuthIdsAndStatus(authIds, LeadStatus.followUp);
1007
 
1007
 
1008
			AuthUser auth = authRepository.selectById(l2l1.getKey());
1008
			AuthUser auth = authRepository.selectById(l2l1.getKey());
-
 
1009
			if (!leads.isEmpty()) {
1009
			authIdAndleadsCountMap.put(auth.getId(), leads.size());
1010
				authIdAndleadsCountMap.put(auth.getId(), leads.size());
-
 
1011
			} else {
-
 
1012
				authIdAndleadsCountMap.put(auth.getId(), 0);
-
 
1013
			}
1010
		}
1014
		}
1011
 
1015
 
1012
		Map<Integer, Object> authIdAndallValues = new LinkedHashMap<>();
1016
		Map<Integer, Object> authIdAndallValues = new LinkedHashMap<>();
1013
 
1017
 
1014
		for (Position po : pos) {
1018
		for (Position po : pos) {
Line 1076... Line 1080...
1076
 
1080
 
1077
		}
1081
		}
1078
		return authIdAndallValues;
1082
		return authIdAndallValues;
1079
	}
1083
	}
1080
 
1084
 
1081
 
-
 
1082
}
1085
}