Subversion Repositories SmartDukaan

Rev

Rev 4500 | Rev 5372 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4500 mandeep.dh 1
/**
2
 * 
3
 */
4
package in.shop2020.warehouse.persistence;
5
 
6
import in.shop2020.warehouse.ScanType;
7
import in.shop2020.warehouse.domain.Scan;
8
 
9
import java.util.List;
10
 
11
import org.apache.ibatis.annotations.Param;
12
 
13
/**
14
 * @author mandeep
15
 *
16
 */
17
public interface ScanMapper {
18
 
19
    /**
20
     * @param scan
21
     */
22
    void insert(Scan scan);
23
 
24
    /**
25
     * @param inventoryItemId
26
     * @param scanType
27
     * @return
28
     */
29
    List<Scan> get(@Param("inventoryItemId")long inventoryItemId, @Param("scanType")ScanType scanType);
5361 mandeep.dh 30
 
31
    /**
32
     * @param orderId
33
     * @return
34
     */
35
    List<Scan> getScansFromOrderId(long orderId);
4500 mandeep.dh 36
}