package com.gyee.wisdom.dao.sql.alarm.repository;

import com.gyee.wisdom.dao.sql.alarm.Entity.WindturbineTestingpointDiEntity;
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 WindturbinetestingpointDiRepository extends JpaRepository<WindturbineTestingpointDiEntity, String>, JpaSpecificationExecutor {
    WindturbineTestingpointDiEntity findAllById(String id);
    List<WindturbineTestingpointDiEntity> findByUniformcode(String id);
    List<WindturbineTestingpointDiEntity> getAllWindturbinetestingpointDiByWindpowerstationId(String windpowerstationid);
}