package com.ruoyi.web.modules.stock.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.stock.domain.BizStockLog;
import com.ruoyi.web.modules.stock.dto.StockLogQuery;
import com.ruoyi.web.modules.stock.vo.StockLogListRowVO;

/**
 * 库存流水 Mapper
 */
public interface BizStockLogMapper
{
    int insert(BizStockLog log);

    List<StockLogListRowVO> selectList(@Param("shopId") Long shopId, @Param("query") StockLogQuery query);

    List<StockLogListRowVO> selectByGoodsId(@Param("shopId") Long shopId, @Param("goodsId") Long goodsId);
}
