Interface ItemMapper


public interface ItemMapper
The Interface ItemMapper.
Author:
Eduardo Macarron
  • Method Details

    • updateInventoryQuantity

      void updateInventoryQuantity(Map<String,Object> param)
      Update inventory quantity.
      Parameters:
      param - the param
    • getInventoryQuantity

      int getInventoryQuantity(String itemId)
      Get inventory quantity.
      Parameters:
      itemId - the item id
      Returns:
      the int
    • getItemListByProduct

      List<Item> getItemListByProduct(String productId)
      Get item list by product.
      Parameters:
      productId - the product id
      Returns:
      the list
    • getItem

      Item getItem(String itemId)
      Get item.
      Parameters:
      itemId - the item id
      Returns:
      the item