package kr.wisestone.owl.repository; import kr.wisestone.owl.domain.IssueType; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.repository.query.Param; import java.util.List; public interface IssueTypeRepository extends JpaRepository { IssueType findByNameAndWorkspaceId(@Param("name") String name, @Param("workspaceId") Long workspaceId); IssueType findByNameAndWorkspaceIdAndIdNot(@Param("name") String name, @Param("workspaceId") Long workspaceId, @Param("id") Long id); IssueType findByName(@Param("name") String name); List findByWorkspaceId(@Param("workspaceId") Long workspaceId); List findByProjectId(@Param("projectId") Long projectId); List findByWorkflowId(@Param("workflowId") Long id); }