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

@Repository
public interface PurchaseOrderAllDao extends JpaSpecificationExecutor<PurchaseOrderAll>, JpaRepository<PurchaseOrderAll, Long> {

	public List<PurchaseOrderAll> findPurchaseOrderAllByCode(String code);
	public List<PurchaseOrderAll> findPurchaseOrderAllById(Long code);
}
