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

import com.its.op.entity.its.rse.TbRseObuClctStatHh;
import com.its.op.entity.its.rse.TbRseObuClctStatHhKey;
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 TbRseObuClctStatHhRepository extends JpaRepository<TbRseObuClctStatHh, TbRseObuClctStatHhKey>, JpaSpecificationExecutor<TbRseObuClctStatHh> {

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

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

}
