package com.czg.service.product.mapper;

import com.czg.product.entity.ProductStockFlow;
import com.czg.product.param.ProductInfoParam;
import com.czg.product.param.ProductStockFlowParam;
import com.czg.product.vo.ProductStatisticsVo;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 商品库存变动记录
 *
 * @author Tankaikai tankaikai@aliyun.com
 * @since 1.0 2025-02-21
 */
@Mapper
public interface ProductStockFlowMapper extends BaseMapper<ProductStockFlow> {
    ProductStatisticsVo getProductStatistics(ProductInfoParam param);

    List<ProductStockFlow> getProductStockFlowList(ProductStockFlowParam param);
}