pull/1/head
tanghc 5 years ago
parent ab8f87d043
commit d0eefd5ef0
  1. 1
      sop-admin/sop-admin-server/src/main/java/com/gitee/sop/adminserver/service/RoutePermissionService.java
  2. 1
      sop-gateway/src/main/java/com/gitee/sop/gateway/manager/DbIsvRoutePermissionManager.java

@ -91,6 +91,7 @@ public class RoutePermissionService {
List<PermRolePermission> rolePermissionList = permRolePermissionMapper.list(query);
return rolePermissionList.stream()
.map(PermRolePermission::getRouteId)
.sorted()
.collect(Collectors.toList());
}

@ -118,6 +118,7 @@ public class DbIsvRoutePermissionManager extends DefaultIsvRoutePermissionManage
List<PermRolePermission> rolePermissionList = permRolePermissionMapper.list(query);
return rolePermissionList.stream()
.map(PermRolePermission::getRouteId)
.sorted()
.collect(Collectors.toList());
}

Loading…
Cancel
Save