##### Coverage Report - com.ctrip.framework.apollo.portal.repository.RoleRepository

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

1 |  |
     package com.ctrip.framework.apollo.portal.repository;
2 |  |
3 |  |
     import com.ctrip.framework.apollo.portal.entity.po.Role;
4 |  |
5 |  |
     import org.springframework.data.repository.PagingAndSortingRepository;
6 |  |
7 |  |
     /**
8 |  |
      * @author Jason Song(song_s@ctrip.com)
9 |  |
      */
10 |  |
     public interface RoleRepository extends PagingAndSortingRepository<Role, Long> {
11 |  |
       /**
12 |  |
        * find role by role name
13 |  |
        * @param roleName
14 |  |
        * @return
15 |  |
        */
16 |  |
       Role findTopByRoleName(String roleName);
17 |  |
     }