| Line 2242... |
Line 2242... |
| 2242 |
.collect(Collectors.toSet());
|
2242 |
.collect(Collectors.toSet());
|
| 2243 |
|
2243 |
|
| 2244 |
int warehouseId = poItemWarehouseModel.getWarehouseId();
|
2244 |
int warehouseId = poItemWarehouseModel.getWarehouseId();
|
| 2245 |
for (String brand : brands) {
|
2245 |
for (String brand : brands) {
|
| 2246 |
List<String> modelNames = selectedCatalogItemMap.entrySet().stream()
|
2246 |
List<String> modelNames = selectedCatalogItemMap.entrySet().stream()
|
| 2247 |
.filter(x -> x.getValue().getBrand().equals(brand)).map(x -> x.getValue().getItemDescriptionNoColor()).collect(Collectors.toList());
|
2247 |
.filter(x -> x.getValue().getBrand().toLowerCase().equals(brand)).map(x -> x.getValue().getItemDescriptionNoColor()).collect(Collectors.toList());
|
| 2248 |
SendNotificationModel sendNotificationModel = new SendNotificationModel();
|
2248 |
SendNotificationModel sendNotificationModel = new SendNotificationModel();
|
| 2249 |
sendNotificationModel.setCampaignName("SendPo");
|
2249 |
sendNotificationModel.setCampaignName("SendPo");
|
| 2250 |
sendNotificationModel.setTitle(String.format(PO_TITLE_STRING));
|
2250 |
sendNotificationModel.setTitle(String.format(PO_TITLE_STRING));
|
| 2251 |
sendNotificationModel.setMessage(String.join(", ", modelNames));
|
2251 |
sendNotificationModel.setMessage(String.join(", ", modelNames));
|
| 2252 |
sendNotificationModel.setType("url");
|
2252 |
sendNotificationModel.setType("url");
|