package com.hr.repository.jpa;

import com.hr.repository.domain.IpInterfacePO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * 接口表;(ip_interface)表数据库访问层
 * @author : Longhoo
 * @date : 2025-10-10
 */
public interface IpInterfaceRepository extends JpaRepository<IpInterfacePO,Long>, JpaSpecificationExecutor<IpInterfacePO> {

//    IpInterfacePO findById(Long id);

    IpInterfacePO findByInterfaceName(String interfaceName);
    IpInterfacePO findByInterfaceNo(String interfaceNo);
}