package com.xydl.cac.repository;

import com.xydl.cac.entity.I2syncRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface I2syncRecordRepository extends JpaRepository<I2syncRecord, Integer>, JpaSpecificationExecutor<I2syncRecord> {

    List<I2syncRecord> findByModevtypeId(Integer modevtypeId);

    List<I2syncRecord> findByEqmid(Integer eqmid);

}