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

@Repository
public interface PurchaseProofingApprovalDao extends JpaSpecificationExecutor<PurchaseProofingApproval>, JpaRepository<PurchaseProofingApproval, Long> {

	List<PurchaseProofingApproval> findByVendUUAndSendStatus(Long vendUU, Short sendStatus);
	
	List<PurchaseProofingApproval> findByVendUUAndSscode(Long vendUU, String sscode);
}
