| Line 311... |
Line 311... |
| 311 |
inventorySnapshot.setHeldOrders(0);
|
311 |
inventorySnapshot.setHeldOrders(0);
|
| 312 |
}
|
312 |
}
|
| 313 |
inventorySnapshot.setCreatedOrders(orders);
|
313 |
inventorySnapshot.setCreatedOrders(orders);
|
| 314 |
inventorysnapshotlist.add(inventorySnapshot);
|
314 |
inventorysnapshotlist.add(inventorySnapshot);
|
| 315 |
item = aliveItemsMap.get(entry.getValue().getId());
|
315 |
item = aliveItemsMap.get(entry.getValue().getId());
|
| - |
|
316 |
System.out.println("++++++++++++++++++Before checking > 5 SLA+++++++++++++++++++++++++++++");
|
| 316 |
if(logisticinfo.getShippingTime() > 5 && stock > 0){
|
317 |
if(logisticinfo.getShippingTime() > 5 && stock > 0){
|
| 317 |
System.out.println("Product : "+getProductName(item)+" Item ID : " + item.getId() + " Stock : " + stock +" "+ " SLA : " + logisticinfo.getShippingTime());
|
318 |
System.out.println("Product : "+getProductName(item)+" Item ID : " + item.getId() + " Stock : " + stock +" "+ " SLA : " + logisticinfo.getShippingTime());
|
| 318 |
}
|
319 |
}
|
| - |
|
320 |
System.out.println("++++++++++++++++++++After checking > 5 SLA++++++++++++++++++++++++");
|
| - |
|
321 |
|
| 319 |
if(!updatedFlipkartInventoryMap.containsKey(entry.getKey())){
|
322 |
if(!updatedFlipkartInventoryMap.containsKey(entry.getKey())){
|
| 320 |
inventoryItems.append("<tr>"
|
323 |
inventoryItems.append("<tr>"
|
| 321 |
+ "<td>" +getProductName(item)+"</td>"
|
324 |
+ "<td>" +getProductName(item)+"</td>"
|
| 322 |
+"<td>" + item.getId() + "</td>"
|
325 |
+"<td>" + item.getId() + "</td>"
|
| 323 |
+"<td>" + actualstock + "</td>"
|
326 |
+"<td>" + actualstock + "</td>"
|