OWL ITS + 탐지시스템(인터넷 진흥원)
jhjang
2021-11-25 e50b78db2f5e74f88b7e5c736f1fca4ca3cbe29b
1
2
3
4
5
6
7
8
9
10
11
12
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<WorkflowDepartment, Long> {
    List<WorkflowDepartment> findByWorkflowIdAndIssueStatusId(@Param("workflowId") Long workflowId, @Param("issueStatusId") Long issueStatusId);
    List<WorkflowDepartment> findByWorkflowId(@Param("workflowId") Long workflowId);
}