small fix
This commit is contained in:
parent
a3fb03b41b
commit
7ba374d844
|
@ -206,7 +206,7 @@ public class UserQuery extends QueryBase<UserEntity> {
|
|||
QueryContext<UserRoleEntity, UUID> subQuery = this.applySubQuery(this.userRoleQuery, queryContext, UUID.class, userRoleEntityRoot -> userRoleEntityRoot.get(UserRoleEntity._userId));
|
||||
predicates.add(queryContext.CriteriaBuilder.in(queryContext.Root.get(UserEntity._id)).value(subQuery.Query));
|
||||
}
|
||||
if (this.dmpAssociated){
|
||||
if (this.dmpAssociated != null){
|
||||
UUID userId;
|
||||
if (this.userScope.isSet()) userId = this.userScope.getUserIdSafe();
|
||||
else throw new MyNotFoundException("Only user scoped allowed");
|
||||
|
|
Loading…
Reference in New Issue