package cn.iocoder.yudao.module.inspection.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.iocoder.yudao.module.inspection.entity.ShopInspectionGoods;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 检测商品Mapper接口
 *
 * @author ruoyi
 * @date 2023-07-08
 */
@Mapper
public interface ShopInspectionGoodsMapper extends BaseMapper<ShopInspectionGoods>
{
    /**
     * 查询检测商品
     *
     * @param id 检测商品主键
     * @return 检测商品
     */
    public ShopInspectionGoods selectShopInspectionGoodsById(Long id);

    /**
     * 查询检测商品列表
     *
     * @param shopInspectionGoods 检测商品
     * @return 检测商品集合
     */
    public IPage<ShopInspectionGoods> selectShopInspectionGoodsListWx(Page<ShopInspectionGoods> page,@Param("vo") ShopInspectionGoods shopInspectionGoods);

    IPage<ShopInspectionGoods> listSystem(Page<ShopInspectionGoods> page,@Param("vo") ShopInspectionGoods shopInspectionGoods);
    IPage<ShopInspectionGoods> listPartnerGoods(Page<ShopInspectionGoods> page,@Param("vo") ShopInspectionGoods shopInspectionGoods);


    int deleteByList(List<Long> list);
}
