1

Update EventRepository.java

This commit is contained in:
Talha Caliskan
2020-03-14 09:30:49 +01:00
committed by GitHub
parent 434a69f93d
commit 403b32ed76

View File

@ -29,4 +29,5 @@ public interface EventRepository extends CrudRepository<EventDTO, Long> {
public List<EventDTO> findAllEventsOfGroups(@Param("groupIds") List<Long> groupIds); public List<EventDTO> findAllEventsOfGroups(@Param("groupIds") List<Long> groupIds);
@Query("SELECT MAX(event_id) FROM event") @Query("SELECT MAX(event_id) FROM event")
public Long getHighesEvent_ID();
} }