package com.huigou.topsun.product.repository;

import com.huigou.topsun.product.domain.ProductMaterial;
import org.springframework.data.jpa.repository.JpaRepository;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Auther: xin.lu
 * @Date: 2023/11/22/10:46
 * @Description:
 */
public interface ProductMaterialRepository extends JpaRepository<ProductMaterial,String> {
    List<ProductMaterial> findByProductId(BigDecimal productId);
}
