apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/repository/PermissionRepository.java/PermissionRepository/findPermissionIdsByAppId
class PermissionRepository:  @Query("SELECT p.id from Permission p where p.targetId = ?1 or p.targetId like CONCAT(?1, '+%')")
  List<Long> findPermissionIdsByAppId(String appId);