Subversion Repositories SmartDukaan

Rev

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

Rev 35762 Rev 35763
Line 1053... Line 1053...
1053
 
1053
 
1054
        // Build a map of normalized customer number -> fofoId
1054
        // Build a map of normalized customer number -> fofoId
1055
        Map<String, Integer> customerToFofoIdMap = new HashMap<>();
1055
        Map<String, Integer> customerToFofoIdMap = new HashMap<>();
1056
        Set<String> normalizedNumbers = new HashSet<>();
1056
        Set<String> normalizedNumbers = new HashSet<>();
1057
 
1057
 
1058
        for (com.spice.profitmandi.dao.entity.cs.AgentCallLog callLog : callLogs) {
1058
        for (AgentCallLog callLog : callLogs) {
1059
            String customerNumber = callLog.getCustomerNumber();
1059
            String customerNumber = callLog.getCustomerNumber();
1060
            if (customerNumber != null) {
1060
            if (customerNumber != null) {
1061
                String normalized = customerNumber.startsWith("+91") ? customerNumber.substring(3) : customerNumber;
1061
                String normalized = customerNumber.startsWith("+91") ? customerNumber.substring(3) : customerNumber;
1062
                normalizedNumbers.add(normalized);
1062
                normalizedNumbers.add(normalized);
1063
            }
1063
            }