package com.dbnt.faisp.main.fpiMgt.affairResult.repository;

import com.dbnt.faisp.main.fpiMgt.affairResult.model.ResultToAffair;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface ResultToAffairRepository extends JpaRepository<ResultToAffair, ResultToAffair.ResultToAffairId> {

  void deleteByResultKey(Integer resultKey);

  List<ResultToAffair> findByResultKey(Integer resultKey);
}
