package com.xingxi.web.controller.business.ProdInventory.mapper;

import com.xingxi.web.controller.business.ProdInventory.domain.ProdInventoryVo;

import java.util.List;

/**
 * 商品库存Vo Mapper接口
 *
 * @author xingxi
 * @date 2025-03-06
 */
public interface ProdInventoryVoMapper {
    /**
     * 查询商品库存Vo
     *
     * @param mercId 店铺ID
     * @return 商品库存Vo
     */
    ProdInventoryVo selectProdInventoryVoByMercId(Long mercId);
    /**
     * 查询商品库存Vo
     *
     * @param prodInventoryId 商品库存主键
     * @return 商品库存Vo
     */
    ProdInventoryVo selectProdInventoryVoByProdInventoryId(Long prodInventoryId);

    /**
     * 查询商品库存Vo列表
     *
     * @param prodInventoryVo 商品库存Vo
     * @return 商品库存Vo集合
     */
    List<ProdInventoryVo> selectProdInventoryVoList(ProdInventoryVo prodInventoryVo);

    /**
     * 修改商品库存
     *
     * @param prodInventoryVo 商品库存Vo
     * @return 结果
     */
    int updateProdInventoryVo(ProdInventoryVo prodInventoryVo);
}
