| 7410 |
amar.kumar |
1 |
/**
|
|
|
2 |
*
|
|
|
3 |
*/
|
|
|
4 |
package in.shop2020.warehouse.persistence;
|
|
|
5 |
|
|
|
6 |
import java.util.Date;
|
|
|
7 |
import java.util.List;
|
|
|
8 |
import java.util.Map;
|
|
|
9 |
|
|
|
10 |
import org.apache.ibatis.annotations.MapKey;
|
|
|
11 |
import org.apache.ibatis.annotations.Param;
|
|
|
12 |
|
|
|
13 |
import in.shop2020.warehouse.TransferLotStatus;
|
| 15045 |
manish.sha |
14 |
import in.shop2020.warehouse.domain.RemovalStockShipmentReference;
|
| 7410 |
amar.kumar |
15 |
import in.shop2020.warehouse.domain.TransferLot;
|
|
|
16 |
|
|
|
17 |
/**
|
|
|
18 |
* @author amar
|
|
|
19 |
*
|
|
|
20 |
*/
|
|
|
21 |
public interface TransferLotMapper {
|
|
|
22 |
|
|
|
23 |
void createTransferLot(in.shop2020.warehouse.domain.TransferLot transferLot);
|
|
|
24 |
|
|
|
25 |
TransferLot getTransferLot(long transferLotId);
|
|
|
26 |
|
|
|
27 |
List<TransferLot> getTransferLotsByDate(@Param("fromDate")Date fromDate, @Param("toDate")Date toDate);
|
|
|
28 |
|
|
|
29 |
@MapKey("itemId")
|
|
|
30 |
Map<Integer, Integer> getItemsInTransferLot(long transferLotId);
|
|
|
31 |
|
|
|
32 |
void markTransferLotAsReceived(@Param("id")long id, @Param("remoteTransferRefNumber")String remoteTransferRefNumber);
|
|
|
33 |
|
|
|
34 |
List<Long> getAllowedDestinationWarehousesForTransfer(long originWarehouseId);
|
|
|
35 |
|
|
|
36 |
void updateTransferLotStatus(@Param("id")long id, @Param("status")TransferLotStatus status);
|
| 10120 |
manish.sha |
37 |
|
|
|
38 |
void markTransferLotAsReceivedPartial(@Param("id")long id, @Param("remoteTransferRefNumber")String remoteTransferRefNumber);
|
| 15045 |
manish.sha |
39 |
|
|
|
40 |
RemovalStockShipmentReference getRemovalStockShipmentReferenceByTrackingId(@Param("trackingId")String trackingId);
|
| 7410 |
amar.kumar |
41 |
|
| 15045 |
manish.sha |
42 |
void createRemovalStockShipmentReference(RemovalStockShipmentReference removalStockShipmentReference);
|
|
|
43 |
|
|
|
44 |
void updateStockShipment(@Param("lineItemQuantity")long lineItemQuantity, @Param("id")long id);
|
|
|
45 |
|
|
|
46 |
void markStockShipmentComplete(@Param("id")long id);
|
|
|
47 |
|
|
|
48 |
RemovalStockShipmentReference getRemovalStockShipmentReferenceById(@Param("id")long id);
|
|
|
49 |
|
|
|
50 |
List<RemovalStockShipmentReference> getAllUnCompletedStockShipments(@Param("source") String source);
|
|
|
51 |
|
|
|
52 |
void updateShipmentReferenceTransferLot(@Param("id")long id, @Param("shipmentReference")long shipmentReference);
|
|
|
53 |
|
|
|
54 |
|
| 7410 |
amar.kumar |
55 |
}
|