package com.its.op.dao.repository.its.facility;

import com.its.op.entity.its.facility.TbFcltFailOcrrType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbFcltFailOcrrTypeRepository extends JpaRepository<TbFcltFailOcrrType, String>, JpaSpecificationExecutor<TbFcltFailOcrrType> {

    @Query("select p from TbFcltFailOcrrType p")
    List<TbFcltFailOcrrType> findAll();

    @Query("select p from TbFcltFailOcrrType p")
    List<TbFcltFailOcrrType> findAllList();

}
