update
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package research.loghunter.repository;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import research.loghunter.entity.Pattern;
|
||||
import java.util.List;
|
||||
|
||||
public interface PatternRepository extends JpaRepository<Pattern, Long> {
|
||||
List<Pattern> findByActiveTrue();
|
||||
List<Pattern> findByActiveTrueOrderBySeverityAscNameAsc();
|
||||
}
|
||||
Reference in New Issue
Block a user