| Line 403... |
Line 403... |
| 403 |
if (t_mpItem.getCurrentSp()< t_mpItem.getMinimumPossibleSp()){
|
403 |
if (t_mpItem.getCurrentSp()< t_mpItem.getMinimumPossibleSp()){
|
| 404 |
sendAlert(t_mpItem.getItemId(),t_mpItem.getCurrentSp(),t_mpItem.getMinimumPossibleSp());
|
404 |
sendAlert(t_mpItem.getItemId(),t_mpItem.getCurrentSp(),t_mpItem.getMinimumPossibleSp());
|
| 405 |
}
|
405 |
}
|
| 406 |
logger.info("\nUpdate Method Item Id "+itemId+"\nSelling Price "+sellingPrice+"\nWarehouse Id "+warehouseId+"\nMax Nlc "+maxNlc+"\nUpdated By: "+session.getAttribute(ReportsUtils.USER_NAME).toString());
|
406 |
logger.info("\nUpdate Method Item Id "+itemId+"\nSelling Price "+sellingPrice+"\nWarehouse Id "+warehouseId+"\nMax Nlc "+maxNlc+"\nUpdated By: "+session.getAttribute(ReportsUtils.USER_NAME).toString());
|
| 407 |
if(snapdealItem.getSellingPrice()!=Double.valueOf(sellingPrice)){
|
407 |
if(snapdealItem.getSellingPrice()!=Double.valueOf(sellingPrice)){
|
| - |
|
408 |
logger.info("Calling Method to update price at snapdeal");
|
| 408 |
UpdateSDPricingUsingPanel updatePriceOnSnapdeal = new UpdateSDPricingUsingPanel(Float.valueOf(sellingPrice),supc,item,timestamp);
|
409 |
UpdateSDPricingUsingPanel updatePriceOnSnapdeal = new UpdateSDPricingUsingPanel(Float.valueOf(sellingPrice),supc,item,timestamp);
|
| - |
|
410 |
logger.info("Calling Thread to update price at snapdeal");
|
| 409 |
updatePriceOnSnapdeal.start();
|
411 |
updatePriceOnSnapdeal.start();
|
| 410 |
}
|
412 |
}
|
| 411 |
return "snapdeal-update-result";
|
413 |
return "snapdeal-update-result";
|
| 412 |
}
|
414 |
}
|
| 413 |
|
415 |
|