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

import com.its.op.entity.its.scrs.TbScSpclDdHmsCntl;
import com.its.op.entity.its.scrs.TbScSpclDdHmsCntlKey;
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 TbScSpclDdHmsCntlRepository extends JpaRepository<TbScSpclDdHmsCntl, TbScSpclDdHmsCntlKey>, JpaSpecificationExecutor<TbScSpclDdHmsCntl> {

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

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

}
