package com.gyee.wisdom.dao.sql.alarm.repository;
import com.gyee.wisdom.dao.sql.alarm.Entity.WarningEntity;
import com.gyee.wisdom.dao.sql.alarm.Entity.WarningsyzEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;


    @Repository
    public interface WarningsyzRepository extends JpaRepository<WarningsyzEntity, String>, JpaSpecificationExecutor {
        WarningsyzEntity findAllById(String id);
        WarningsyzEntity findByDescription(String description);
        WarningsyzEntity findByPointkey(String pointkey);
    }

