Update EventRepository.java
This commit is contained in:
@ -29,4 +29,5 @@ public interface EventRepository extends CrudRepository<EventDTO, Long> {
|
||||
public List<EventDTO> findAllEventsOfGroups(@Param("groupIds") List<Long> groupIds);
|
||||
|
||||
@Query("SELECT MAX(event_id) FROM event")
|
||||
public Long getHighesEvent_ID();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user