package com.uas.platform.b2b.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.uas.platform.b2b.model.PurchaseProofingItem;

@Repository
public interface PurchaseProofingItemDao extends JpaSpecificationExecutor<PurchaseProofingItem>, JpaRepository<PurchaseProofingItem, Long> {

	/**
	 * 按卖家企业ID和明细传到卖家ERP状态查找客户打样申请明细
	 * 
	 * @param vendUU
	 * @param sendStatus
	 * @return
	 */
	List<PurchaseProofingItem> findByVendUUAndSendStatus(long vendUU, short sendStatus);


}
