package kr.wisestone.owl.repository; import kr.wisestone.owl.domain.Department; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.repository.query.Param; public interface DepartmentRepository extends JpaRepository { Long countById(@Param("id")Long id); }