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

import com.its.op.entity.its.rse.TbRseObuClctStatDd;
import com.its.op.entity.its.rse.TbRseObuClctStatDdKey;
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 TbRseObuClctStatDdRepository extends JpaRepository<TbRseObuClctStatDd, TbRseObuClctStatDdKey>, JpaSpecificationExecutor<TbRseObuClctStatDd> {

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

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

}
