some refactor

This commit is contained in:
Anton Romanov 2018-12-28 14:00:09 +04:00
parent ce78f8ad66
commit ebb036ee71

View File

@ -5,6 +5,4 @@ import ru.ulstu.grant.model.Grant;
public interface GrantRepository extends JpaRepository<Grant, Integer> { public interface GrantRepository extends JpaRepository<Grant, Integer> {
// @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<Paper> filter(@Param("author") User author, @Param("year") Integer year);
} }