Subversion Repositories SmartDukaan

Rev

Rev 6467 | Rev 6548 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6467 Rev 6484
Line 2... Line 2...
2
 
2
 
3
import in.shop2020.warehouse.ScanType;
3
import in.shop2020.warehouse.ScanType;
4
import in.shop2020.warehouse.domain.InventoryItem;
4
import in.shop2020.warehouse.domain.InventoryItem;
5
 
5
 
6
import java.util.List;
6
import java.util.List;
-
 
7
import java.util.Map;
7
 
8
 
8
import org.apache.ibatis.annotations.Param;
9
import org.apache.ibatis.annotations.Param;
9
 
10
 
10
 
11
 
11
public interface InventoryItemMapper {
12
public interface InventoryItemMapper {
Line 50... Line 51...
50
	Long getCurrentQuantityForNonSerializedItem(@Param("itemId")long itemId, @Param("warehouseId")long warehouseId);
51
	Long getCurrentQuantityForNonSerializedItem(@Param("itemId")long itemId, @Param("warehouseId")long warehouseId);
51
 
52
 
52
	void markPurchaseReturnIdForItem(@Param("id")long id, @Param("currentQuantity")long currentQuantity, @Param("purchaseReturnId")long purchaseReturnId);
53
	void markPurchaseReturnIdForItem(@Param("id")long id, @Param("currentQuantity")long currentQuantity, @Param("purchaseReturnId")long purchaseReturnId);
53
 
54
 
54
	List<InventoryItem> getCurrentNonSerializedItemsByItemId(@Param("itemId")long itemId, @Param("warehouseId")long warehouseId);
55
	List<InventoryItem> getCurrentNonSerializedItemsByItemId(@Param("itemId")long itemId, @Param("warehouseId")long warehouseId);
-
 
56
	
-
 
57
	List<Map<String, Integer>> getCurrentSerializedInventory();
-
 
58
 
-
 
59
	List<Map<String, Integer>> getCurrentNonSerializedInventory();
55
}
60
}