OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2021-12-02 616d76059d929650113f8a4ec750d86c4647b064
1
2
3
4
5
6
7
8
9
10
11
12
package kr.wisestone.owl.repository;
 
import kr.wisestone.owl.domain.Severity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;
import java.util.List;
 
public interface SeverityRepository extends JpaRepository<Severity, Long> {
    List<Severity> findByWorkspaceIdOrderByPosition(@Param("workspaceId") Long workspaceId);
 
    List<Severity> findByWorkspaceId(@Param("workspaceId") Long workspaceId);
}