fix: resolve hibernate query error in task repository
This commit is contained in:
parent
69aa0d3d9e
commit
fa5d400a0d
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ public class TaskRepositoryImpl implements TaskRepository, PanacheRepository<Tas
|
||||||
idx++;
|
idx++;
|
||||||
}
|
}
|
||||||
if (Objects.nonNull(userIds) && !userIds.isEmpty()) {
|
if (Objects.nonNull(userIds) && !userIds.isEmpty()) {
|
||||||
query.append(" and tu.id in ?").append(idx);
|
query.append(" and t.user.id in ?").append(idx);
|
||||||
params.add(userIds);
|
params.add(userIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue