package com.czg.service.product.mapper;

import com.czg.product.entity.ShopVendor;
import com.czg.product.vo.ShopVendorBillVO;
import com.czg.product.vo.ShopVendorSummaryVO;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 供应商
 *
 * @author Tankaikai tankaikai@aliyun.com
 * @since 1.0 2025-02-20
 */
@Mapper
public interface ShopVendorMapper extends BaseMapper<ShopVendor> {

    ShopVendorSummaryVO summary(@Param("shopId") Long shopId);


    List<ShopVendorBillVO> bill(@Param("shopId") Long shopId, @Param("key") String key);
}
