package com.tykj.workflowcore.model_layer.dao;


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

import java.util.List;

/**
 * @ClassName ColumnInfoDao
 * @Description TODO
 * @Author WWW
 * @Date 2021/2/24 11:22
 * @Version 1.0
 */
public interface ColumnInfoDao extends JpaRepository<ColumnInfo, Integer>, JpaSpecificationExecutor<ColumnInfo> {
    /**
     * 根据dbId查询所有
     * @param id
     * @return
     */
    List<ColumnInfo> findAllByDbId(int id);
}
