| Line 126... |
Line 126... |
| 126 |
transferLotFromDate.setTime(formatter.parse(fromDate));
|
126 |
transferLotFromDate.setTime(formatter.parse(fromDate));
|
| 127 |
if(toDate!=null) {
|
127 |
if(toDate!=null) {
|
| 128 |
transferLotToDate.setTime(formatter.parse(toDate));
|
128 |
transferLotToDate.setTime(formatter.parse(toDate));
|
| 129 |
}
|
129 |
}
|
| 130 |
}
|
130 |
}
|
| - |
|
131 |
List<TransferLot> allTransferLots = warehouseClient.getTransferLotsByDate(transferLotFromDate.getTimeInMillis(), transferLotToDate.getTimeInMillis());
|
| - |
|
132 |
for(TransferLot transferLot: allTransferLots){
|
| - |
|
133 |
if(transferLot.getStatus()!=TransferLotStatus.TRANSFER_COMPLETE){
|
| - |
|
134 |
transferLots.add(transferLot);
|
| - |
|
135 |
}
|
| - |
|
136 |
}
|
| 131 |
transferLots = warehouseClient.getTransferLotsByDate(transferLotFromDate.getTimeInMillis(), transferLotToDate.getTimeInMillis());
|
137 |
//transferLots = warehouseClient.getTransferLotsByDate(transferLotFromDate.getTimeInMillis(), transferLotToDate.getTimeInMillis());
|
| 132 |
} catch(TException e){
|
138 |
} catch(TException e){
|
| 133 |
logger.error("Error in getting transfer lots", e);
|
139 |
logger.error("Error in getting transfer lots", e);
|
| 134 |
} catch(ParseException pex) {
|
140 |
} catch(ParseException pex) {
|
| 135 |
logger.error("Error in parsing time", pex);
|
141 |
logger.error("Error in parsing time", pex);
|
| 136 |
} catch(WarehouseServiceException wsex) {
|
142 |
} catch(WarehouseServiceException wsex) {
|