Rev 5361 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package in.shop2020.warehouse.handler;import in.shop2020.warehouse.ScanType;import in.shop2020.warehouse.domain.Scan;import in.shop2020.warehouse.persistence.ScanMapper;import java.util.List;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Service;@Servicepublic class ScanHandler {@Autowiredprivate ScanMapper scanMapper;/*** @param scan*/public void insert(Scan scan) {scanMapper.insert(scan);}/*** @param inventoryItemId* @param scanType* @return*/public List<Scan> getScans(long inventoryItemId, ScanType scanType) {return scanMapper.get(inventoryItemId, scanType);}}