package cn.reghao.bnt.web.devops.build.db.repository;

import cn.reghao.bnt.web.devops.build.model.po.CompilerConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author reghao
 * @date 2020-01-21 14:53:03
 */
public interface CompilerConfigRepository
        extends JpaRepository<CompilerConfig, Integer>, JpaSpecificationExecutor<CompilerConfig> {
    CompilerConfig findByName(String name);
    List<CompilerConfig> findAllByDeletedFalse();
}
