##### Coverage Report - com.ctrip.apollo.biz.repository.ReleaseMessageRepository

Classes in this File | Line Coverage | Branch Coverage | Complexity
ReleaseMessageRepository |
N/A | N/A
N/A | N/A
| 1.0;1

1 |  |
     package com.ctrip.apollo.biz.repository;
2 |  |
3 |  |
     import com.ctrip.apollo.biz.entity.ReleaseMessage;
4 |  |
5 |  |
     import org.springframework.data.repository.PagingAndSortingRepository;
6 |  |
7 |  |
     import java.util.List;
8 |  |
9 |  |
     /**
10 |  |
      * @author Jason Song(song_s@ctrip.com)
11 |  |
      */
12 |  |
     public interface ReleaseMessageRepository extends PagingAndSortingRepository<ReleaseMessage, Long> {
13 |  |
       List<ReleaseMessage> findFirst500ByIdGreaterThanOrderByIdAsc(Long id);
14 |  |
15 |  |
       ReleaseMessage findTopByOrderByIdDesc();
16 |  |
     }