package com.xydl.cac.repository;

import com.xydl.cac.entity.RemoteDownload;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface RemoteDownloadRepository extends JpaRepository<RemoteDownload, Integer>, JpaSpecificationExecutor<RemoteDownload> {

    List<RemoteDownload> findByConfigIdAndRemotePathAndFilename(Integer configId, String remotePath, String filename);
}