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

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.goods.domain.BizGoodsServiceSnapshot;
import com.ruoyi.web.modules.goods.vo.GoodsServiceSnapshotVO;

/**
 * 商品服务快照 Mapper
 */
public interface BizGoodsServiceSnapshotMapper
{
    List<GoodsServiceSnapshotVO> selectVisibleByGoodsId(@Param("goodsId") Long goodsId);

    int deleteByGoodsId(@Param("goodsId") Long goodsId);

    int batchInsert(@Param("list") List<BizGoodsServiceSnapshot> list);

    int existsGoodsRef(@Param("serviceId") Long serviceId);
}
