add method: find permissions by role's ID

This commit is contained in:
myh 2023-12-03 23:42:22 +08:00
parent cf3d50c6d9
commit 4649a4ec3a

View File

@ -16,4 +16,6 @@ public interface PermissionsService {
Optional<Permissions> findById(Long permissionId);
List<Permissions> findAllPermissions();
List<Permissions> findPermissionsByRoleId(Long roleId);
}