| Line 7... |
Line 7... |
| 7 |
import java.util.HashMap;
|
7 |
import java.util.HashMap;
|
| 8 |
import java.util.List;
|
8 |
import java.util.List;
|
| 9 |
import java.util.Map;
|
9 |
import java.util.Map;
|
| 10 |
|
10 |
|
| 11 |
import in.shop2020.warehouse.TransferLotStatus;
|
11 |
import in.shop2020.warehouse.TransferLotStatus;
|
| - |
|
12 |
import in.shop2020.warehouse.domain.RemovalStockShipmentReference;
|
| 12 |
import in.shop2020.warehouse.domain.TransferLot;
|
13 |
import in.shop2020.warehouse.domain.TransferLot;
|
| 13 |
import in.shop2020.warehouse.persistence.TransferLotMapper;
|
14 |
import in.shop2020.warehouse.persistence.TransferLotMapper;
|
| 14 |
|
15 |
|
| 15 |
import org.springframework.beans.factory.annotation.Autowired;
|
16 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 16 |
import org.springframework.stereotype.Service;
|
17 |
import org.springframework.stereotype.Service;
|
| Line 66... |
Line 67... |
| 66 |
}
|
67 |
}
|
| 67 |
|
68 |
|
| 68 |
public void markTransferLotAsReceivedPartial(long id, String remoteTransferRefNumber){
|
69 |
public void markTransferLotAsReceivedPartial(long id, String remoteTransferRefNumber){
|
| 69 |
transferLotMapper.markTransferLotAsReceivedPartial(id, remoteTransferRefNumber);
|
70 |
transferLotMapper.markTransferLotAsReceivedPartial(id, remoteTransferRefNumber);
|
| 70 |
}
|
71 |
}
|
| - |
|
72 |
|
| - |
|
73 |
public RemovalStockShipmentReference getRemovalStockShipmentReferenceById(long id) {
|
| - |
|
74 |
return transferLotMapper.getRemovalStockShipmentReferenceById(id);
|
| - |
|
75 |
}
|
| 71 |
|
76 |
|
| - |
|
77 |
public List<RemovalStockShipmentReference> getAllUnCompletedStockShipments(String source){
|
| - |
|
78 |
return transferLotMapper.getAllUnCompletedStockShipments(source);
|
| - |
|
79 |
}
|
| - |
|
80 |
|
| - |
|
81 |
public void updateShipmentReferenceTransferLot(long id, long shipmentReference){
|
| - |
|
82 |
transferLotMapper.updateShipmentReferenceTransferLot(id, shipmentReference);
|
| - |
|
83 |
}
|
| - |
|
84 |
|
| - |
|
85 |
public long createRemovalStockShipmentReference(RemovalStockShipmentReference removalStockShipmentReference){
|
| - |
|
86 |
transferLotMapper.createRemovalStockShipmentReference(removalStockShipmentReference);
|
| - |
|
87 |
return removalStockShipmentReference.getId();
|
| - |
|
88 |
}
|
| - |
|
89 |
|
| - |
|
90 |
public void updateStockShipment(long lineItemQuantity, long id){
|
| - |
|
91 |
transferLotMapper.updateStockShipment(lineItemQuantity, id);
|
| - |
|
92 |
}
|
| - |
|
93 |
|
| - |
|
94 |
public void markStockShipmentComplete(long id){
|
| - |
|
95 |
transferLotMapper.markStockShipmentComplete(id);
|
| - |
|
96 |
}
|
| - |
|
97 |
|
| 72 |
}
|
98 |
}
|