package kr.wisestone.owl.repository; import kr.wisestone.owl.domain.WorkflowDepartment; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.repository.query.Param; import java.util.List; public interface WorkflowDepartmentRepository extends JpaRepository { List findByWorkflowIdAndIssueStatusId(@Param("workflowId") Long workflowId, @Param("issueStatusId") Long issueStatusId); List findByWorkflowId(@Param("workflowId") Long workflowId); List findByDepartmentId(@Param("departmentId") Long departmentId); }