| Line 102... |
Line 102... |
| 102 |
private static final int SNAPDEAL_GATEWAY_ID = 18;
|
102 |
private static final int SNAPDEAL_GATEWAY_ID = 18;
|
| 103 |
|
103 |
|
| 104 |
private static final String FIRSTFLIGHT = "First Flight";
|
104 |
private static final String FIRSTFLIGHT = "First Flight";
|
| 105 |
private static final String DELHIVERY = "DELHIVERY";
|
105 |
private static final String DELHIVERY = "DELHIVERY";
|
| 106 |
private static final String BLUEDART = "Bluedart";
|
106 |
private static final String BLUEDART = "Bluedart";
|
| - |
|
107 |
private static final String ECOM = "Ecom Express";
|
| 107 |
|
108 |
|
| 108 |
private File orderDataFile;
|
109 |
private File orderDataFile;
|
| 109 |
private String orderDataFileName;
|
110 |
private String orderDataFileName;
|
| 110 |
private String transactionId;
|
111 |
private String transactionId;
|
| 111 |
private String errorMsg = "";
|
112 |
private String errorMsg = "";
|
| Line 270... |
Line 271... |
| 270 |
t_order.setLogistics_provider_id(12);
|
271 |
t_order.setLogistics_provider_id(12);
|
| 271 |
} else if(provider.equals(DELHIVERY)) {
|
272 |
} else if(provider.equals(DELHIVERY)) {
|
| 272 |
t_order.setLogistics_provider_id(13);
|
273 |
t_order.setLogistics_provider_id(13);
|
| 273 |
} else if(provider.equals(BLUEDART)) {
|
274 |
} else if(provider.equals(BLUEDART)) {
|
| 274 |
t_order.setLogistics_provider_id(14);
|
275 |
t_order.setLogistics_provider_id(14);
|
| - |
|
276 |
} else if(provider.equals(ECOM)) {
|
| - |
|
277 |
t_order.setLogistics_provider_id(18);
|
| 275 |
} else {
|
278 |
} else {
|
| 276 |
addActionError("Unknown logistics provider found for row number " + rowId);
|
279 |
addActionError("Unknown logistics provider found for row number " + rowId);
|
| 277 |
setErrorMsg(getErrorMsg() + "<br>Unknown logistics provider found for row number " + rowId);
|
280 |
setErrorMsg(getErrorMsg() + "<br>Unknown logistics provider found for row number " + rowId);
|
| 278 |
logger.error("Unknown logistics provider found for row number " + rowId);
|
281 |
logger.error("Unknown logistics provider found for row number " + rowId);
|
| 279 |
continue;
|
282 |
continue;
|
| 280 |
}
|
283 |
}
|