| Line 404... |
Line 404... |
| 404 |
} catch (NumberFormatException e) {
|
404 |
} catch (NumberFormatException e) {
|
| 405 |
LOGGER.info("Ignore number format exception");
|
405 |
LOGGER.info("Ignore number format exception");
|
| 406 |
// e.printStackTrace();
|
406 |
// e.printStackTrace();
|
| 407 |
}
|
407 |
}
|
| 408 |
LOGGER.info("Vendor Id - {}", vendorId);
|
408 |
LOGGER.info("Vendor Id - {}", vendorId);
|
| 409 |
List<ItemDescriptionModel> partnersItemDescription = warehouseService.getAllPartnerItemStringDescription(vendorId).parallelStream().filter(x -> x.getItemDescription().toLowerCase().matches(".*?" + query1 + ".*?")).collect(Collectors.toList());
|
409 |
List<ItemDescriptionModel> partnersItemDescription = warehouseService.getAllPartnerItemStringDescription(vendorId).stream().filter(x -> x.getItemDescription().toLowerCase().contains(query1)).collect(Collectors.toList());
|
| 410 |
LOGGER.info("partnersItemDescription" + partnersItemDescription);
|
410 |
LOGGER.info("partnersItemDescription" + partnersItemDescription);
|
| 411 |
|
411 |
|
| 412 |
model.addAttribute("response1", mvcResponseSender.createResponseString(partnersItemDescription));
|
412 |
model.addAttribute("response1", mvcResponseSender.createResponseString(partnersItemDescription));
|
| 413 |
return "response";
|
413 |
return "response";
|
| 414 |
}
|
414 |
}
|