| Line 80... |
Line 80... |
| 80 |
private static final String VDELIVER = "VDELIVER";
|
80 |
private static final String VDELIVER = "VDELIVER";
|
| 81 |
private static final String OVERNITE_EXP = "Overnite Express";
|
81 |
private static final String OVERNITE_EXP = "Overnite Express";
|
| 82 |
private static final String BIBHA_CARGO = "BIBHA CARGO AND COURIER PVT LTD";
|
82 |
private static final String BIBHA_CARGO = "BIBHA CARGO AND COURIER PVT LTD";
|
| 83 |
private static final String FF_DELHI = "FF-Delhi";
|
83 |
private static final String FF_DELHI = "FF-Delhi";
|
| 84 |
private static final String FF_GURGAON = "FF-GURGAON";
|
84 |
private static final String FF_GURGAON = "FF-GURGAON";
|
| - |
|
85 |
private static final String TANVI_EXPRESS = "Tanvi Express";
|
| 85 |
private static String transactionId;
|
86 |
private static String transactionId;
|
| 86 |
private static long paymentId;
|
87 |
private static long paymentId;
|
| 87 |
private static final int SNAPDEAL_GATEWAY_ID = 18;
|
88 |
private static final int SNAPDEAL_GATEWAY_ID = 18;
|
| 88 |
private static Logger logger;
|
89 |
private static Logger logger;
|
| 89 |
|
90 |
|
| Line 358... |
Line 359... |
| 358 |
t_order.setLogistics_provider_id(39);
|
359 |
t_order.setLogistics_provider_id(39);
|
| 359 |
}
|
360 |
}
|
| 360 |
else if(order.getCourier().equalsIgnoreCase(FF_GURGAON)){
|
361 |
else if(order.getCourier().equalsIgnoreCase(FF_GURGAON)){
|
| 361 |
t_order.setLogistics_provider_id(40);
|
362 |
t_order.setLogistics_provider_id(40);
|
| 362 |
}
|
363 |
}
|
| - |
|
364 |
else if(order.getCourier().equalsIgnoreCase(TANVI_EXPRESS)){
|
| - |
|
365 |
t_order.setLogistics_provider_id(41);
|
| - |
|
366 |
}
|
| 363 |
|
367 |
|
| 364 |
else {
|
368 |
else {
|
| 365 |
logger.error("Error No Courier Match please add courier to our system for suborderid " + order.getSuborderId() + "Courier Name " + order.getCourier());
|
369 |
logger.error("Error No Courier Match please add courier to our system for suborderid " + order.getSuborderId() + "Courier Name " + order.getCourier());
|
| 366 |
sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
|
370 |
sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
|
| 367 |
continue;
|
371 |
continue;
|