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

import com.huigou.topsun.sap.purchaseOrder.domain.SapPurchaseOrder;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Auther: xin.lu
 * @Date: 2024/01/09/19:00
 * @Description:
 */
public interface SapPurchaseOrderRepository extends JpaRepository<SapPurchaseOrder,String> {

    List<SapPurchaseOrder> findAllByEbeln(String ebeln);

    SapPurchaseOrder findByEbelnAndStatusId(String ebeln,Integer statusId);
}
