RT,举例来说permission和role的关系是多对多
role bean里
@ManyMany(target = Permission.class, relation = "t_role_permission", from = "role_id", to = "permission_id")
private List<Permission> permissions;
但permission里没有任何字段指向role,我想看哪些role里有某个permission只能取出所有的role然后遍历筛选吗?