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

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

1 |  |
     package com.ctrip.apollo.biz.repository;
2 |  |
3 |  |
     import java.util.List;
4 |  |
5 |  |
     import org.springframework.data.repository.PagingAndSortingRepository;
6 |  |
7 |  |
     import com.ctrip.apollo.biz.entity.Item;
8 |  |
9 |  |
     public interface ItemRepository extends PagingAndSortingRepository<Item, Long> {
10 |  |
11 |  |
       Item findByNamespaceIdAndKey(Long namespaceId, String key);
12 |  |
13 |  |
       List<Item> findByNamespaceIdOrderByLineNumAsc(Long namespaceId);
14 |  |
15 |  |
     }