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.PurchaseProofing;

@Repository
public interface PurchaseProofingDao extends JpaSpecificationExecutor<PurchaseProofing>, JpaRepository<PurchaseProofing, Long> {

	/**
	 * @param enUU
	 *            买家uu
	 * @param code
	 *            打样申请编号
	 * @return
	 */
	public List<PurchaseProofing> findByEnUUAndCode(long enUU, String code);

}
