package com.xydl.cac.repository;

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

    List<IcdConfigTypeInst> findByIcdConfigTypeId(Integer icdConfigTypeId);

    void deleteByIcdConfigTypeId(Integer icdConfigTypeId);
}