package com.tykj.workflowcore.model_layer.dao;

import com.tykj.workflowcore.model_layer.entity.Aggregation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @ClassName AggregationRelationshipDao
 * @Description TODO
 * @Author WWW
 * @Date 2021/4/2 10:34
 * @Version 1.0
 */
public interface AggregationDao extends JpaRepository<Aggregation, Integer>, JpaSpecificationExecutor<Aggregation> {

    List<Aggregation> findAllByTableInfoExIdAndParentId(Integer tableExId,Integer parrentId);


}
