Subversion Repositories SmartDukaan

Rev

Rev 8381 | Rev 9338 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8381 Rev 8384
Line 301... Line 301...
301
	}
301
	}
302
	
302
	
303
 
303
 
304
	public Map<String, String> getFedexReconciliationDataMap(
304
	public Map<String, String> getFedexReconciliationDataMap(
305
			List<Long> order_ids, String method_key) {
305
			List<Long> order_ids, String method_key) {
-
 
306
		log.info("Into Method of CRM Service to get Fedex Reconciliation Data");
306
		Map<String, String> fedexReconciliationDataMap = null;
307
		Map<String, String> fedexReconciliationDataMap = null;
307
		try{
308
		try{
308
			TransactionClient transactionServiceClient = new TransactionClient();
309
			TransactionClient transactionServiceClient = new TransactionClient();
309
			List<Order> orderList= transactionServiceClient.getClient().getOrderList(order_ids);
310
			List<Order> orderList= transactionServiceClient.getClient().getOrderList(order_ids);
310
			if("delivered_orders".equalsIgnoreCase(method_key)){
311
			if("delivered_orders".equalsIgnoreCase(method_key)){
Line 326... Line 327...
326
				fedexReconciliationDataMap = fedexTrackClient.readFedExPickupOrdersMap(orderList);
327
				fedexReconciliationDataMap = fedexTrackClient.readFedExPickupOrdersMap(orderList);
327
			}
328
			}
328
		// TODO Auto-generated method stub
329
		// TODO Auto-generated method stub
329
		}
330
		}
330
		catch (TTransportException e) {
331
		catch (TTransportException e) {
331
			log.error("Unable to create thrift Client", e);
332
			log.error("Unable to create thrift Client from fedex reconciliation method.... ", e);
332
		} catch (TException e) {
333
		} catch (TException e) {
333
			log.error("Unable to get thrift Client", e);
334
			log.error("Unable to get thrift Client from fedex reconciliation method.... ", e);
334
		}
335
		}
-
 
336
		log.info("Into Method of CRM Service to get Fedex Reconciliation Data....and got it successfully");
335
		return fedexReconciliationDataMap;
337
		return fedexReconciliationDataMap;
336
	}
338
	}
337
 }
339
 }