Coverage Report - com.ctrip.framework.apollo.portal.repository.RolePermissionRepository
 
Classes in this File Line Coverage Branch Coverage Complexity
RolePermissionRepository
N/A
N/A
1
 
 1  
 package com.ctrip.framework.apollo.portal.repository;
 2  
 
 3  
 import com.ctrip.framework.apollo.portal.entity.po.RolePermission;
 4  
 
 5  
 import org.springframework.data.repository.PagingAndSortingRepository;
 6  
 
 7  
 import java.util.Collection;
 8  
 import java.util.List;
 9  
 
 10  
 /**
 11  
  * @author Jason Song(song_s@ctrip.com)
 12  
  */
 13  
 public interface RolePermissionRepository extends PagingAndSortingRepository<RolePermission, Long> {
 14  
 
 15  
   /**
 16  
    * find role permissions by role ids
 17  
    */
 18  
   List<RolePermission> findByRoleIdIn(Collection<Long> roleId);
 19  
 }