Subversion Repositories SmartDukaan

Rev

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

Rev 33030 Rev 33031
Line 1090... Line 1090...
1090
        return sb.toString();
1090
        return sb.toString();
1091
    }
1091
    }
1092
 
1092
 
1093
    private void appendPartnerCodes(List<Integer> fofoIds, StringBuilder sb) {
1093
    private void appendPartnerCodes(List<Integer> fofoIds, StringBuilder sb) {
1094
        Map<Integer, CustomRetailer> customRetailersMap = retailerService.getAllFofoRetailers();
1094
        Map<Integer, CustomRetailer> customRetailersMap = retailerService.getAllFofoRetailers();
1095
        List<String> businessNames = fofoIds.stream().map(x -> customRetailersMap.get(x)).filter(x -> x != null).map(x -> x.getCode()).collect(Collectors.toList());
1095
        List<String> businessNames = fofoIds.stream().map(x -> customRetailersMap.get(x)).filter(x -> x != null).map(x -> x.getBusinessName()).collect(Collectors.toList());
1096
        sb.append(String.join(", ", businessNames));
1096
        sb.append(String.join(", ", businessNames));
1097
    }
1097
    }
1098
}
1098
}