| Line 36... |
Line 36... |
| 36 |
if(o.getLogistics_provider_id()==2 && o.getStatus().equals(OrderStatus.BILLED)) {
|
36 |
if(o.getLogistics_provider_id()==2 && o.getStatus().equals(OrderStatus.BILLED)) {
|
| 37 |
String airwayBill = logisticsProvider.getAirwayBillNo(entry.getValue());
|
37 |
String airwayBill = logisticsProvider.getAirwayBillNo(entry.getValue());
|
| 38 |
c.updateMasterOrderAWB(entry.getKey(), airwayBill);
|
38 |
c.updateMasterOrderAWB(entry.getKey(), airwayBill);
|
| 39 |
System.out.println("Updated logisticsTransactionId - " + entry.getKey() + " with airway bill - " + airwayBill);
|
39 |
System.out.println("Updated logisticsTransactionId - " + entry.getKey() + " with airway bill - " + airwayBill);
|
| 40 |
} else {
|
40 |
} else {
|
| 41 |
System.out.println("Ignored logisticsTransactionId - " + entry.getKey() + " Status - " + o.getStatusDescription());
|
41 |
System.out.println("Ignored logisticsTransactionId - " + entry.getKey() + "Prodider id - " + o.getLogistics_provider_id() + " Status - " + o.getStatusDescription());
|
| 42 |
}
|
42 |
}
|
| 43 |
}
|
43 |
}
|
| 44 |
}
|
44 |
}
|
| 45 |
}
|
45 |
}
|