package com.xydl.cac.repository;

import com.xydl.cac.entity.IcdIed;
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 IcdIedRepository extends JpaRepository<IcdIed, Integer>, JpaSpecificationExecutor<IcdIed> {

    List<IcdIed> findByIcdFileId(Integer fileId);

    List<IcdIed> findByStart(Integer start);
}