OWL ITS + 탐지시스템(인터넷 진흥원)
wyu
2021-12-08 257766aa7e8a88b2b371fc6f8f52751af7d84eda
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);
}