package com.huigou.topsun.sap.processQuotedPrice.repository;

import com.huigou.topsun.sap.processQuotedPrice.domain.ProcessQuotedPriceItem;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Auther: xin.lu
 * @Date: 2024/10/30/14:07
 * @Description:
 */
public interface ProcessQuotedPriceItemRepository extends JpaRepository<ProcessQuotedPriceItem, String> {
    List<ProcessQuotedPriceItem> findByProcessQuotedPriceId(String processQuotedPriceId);

    /**
     * 根据产品编码和工序编码查询报价明细
     * @param productCode
     * @param outProcess
     * @return
     */
    List<ProcessQuotedPriceItem> findByProductCodeAndOutProcess(String productCode,String outProcess);
}
