package com.xydl.cac.repository;

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

    List<I2syncField> findByTableName(String tablename);

    void deleteByTableName(String tablename);
}