From ebb036ee715e721e1c119a8fd5a57d74e3742434 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Fri, 28 Dec 2018 14:00:09 +0400 Subject: [PATCH] some refactor --- src/main/java/ru/ulstu/grant/repository/GrantRepository.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/ru/ulstu/grant/repository/GrantRepository.java b/src/main/java/ru/ulstu/grant/repository/GrantRepository.java index 65f2eb1..92dec43 100644 --- a/src/main/java/ru/ulstu/grant/repository/GrantRepository.java +++ b/src/main/java/ru/ulstu/grant/repository/GrantRepository.java @@ -5,6 +5,4 @@ import ru.ulstu.grant.model.Grant; public interface GrantRepository extends JpaRepository { -// @Query("SELECT p FROM Paper p WHERE (:author IS NULL OR :author MEMBER OF p.authors) AND (YEAR(p.createDate) = :year OR :year IS NULL)") -// List filter(@Param("author") User author, @Param("year") Integer year); }