package com.tykj.workflowcore.model.repository;

import com.tykj.workflowcore.model.entity.TableInfoEx;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TableInfoExRepository extends JpaRepository<TableInfoEx, Integer> {

    boolean existsByName(String name);

    Integer countByName(String name);

    List<TableInfoEx> findByName(String name);

    List<TableInfoEx> findByProcessKey(String processKey);

}
